51 lines
1.9 KiB
C#
51 lines
1.9 KiB
C#
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated />
|
|
//
|
|
// This file was automatically generated by SWIG (http://www.swig.org).
|
|
// Version 4.0.1
|
|
//
|
|
// Do not make changes to this file unless you know what you are doing--modify
|
|
// the SWIG interface file instead.
|
|
//------------------------------------------------------------------------------
|
|
|
|
|
|
public class FDatasmithFacadeBaseMaterial : FDatasmithFacadeElement {
|
|
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
|
|
|
|
internal FDatasmithFacadeBaseMaterial(global::System.IntPtr cPtr, bool cMemoryOwn) : base(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeBaseMaterial_SWIGUpcast(cPtr), cMemoryOwn) {
|
|
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
|
|
}
|
|
|
|
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FDatasmithFacadeBaseMaterial obj) {
|
|
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
|
|
}
|
|
|
|
protected override void Dispose(bool disposing) {
|
|
lock(this) {
|
|
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
|
|
if (swigCMemOwn) {
|
|
swigCMemOwn = false;
|
|
DatasmithFacadeCSharpPINVOKE.delete_FDatasmithFacadeBaseMaterial(swigCPtr);
|
|
}
|
|
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
}
|
|
|
|
public FDatasmithFacadeBaseMaterial.EDatasmithMaterialType GetDatasmithMaterialType() {
|
|
FDatasmithFacadeBaseMaterial.EDatasmithMaterialType ret = (FDatasmithFacadeBaseMaterial.EDatasmithMaterialType)DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeBaseMaterial_GetDatasmithMaterialType(swigCPtr);
|
|
return ret;
|
|
}
|
|
|
|
public enum EDatasmithMaterialType {
|
|
MaterialInstance,
|
|
UEPbrMaterial,
|
|
DecalMaterial,
|
|
Unsupported
|
|
}
|
|
|
|
}
|