Files
2025-05-18 13:04:45 +08:00

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 FDatasmithFacadeMaterialID : FDatasmithFacadeElement {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal FDatasmithFacadeMaterialID(global::System.IntPtr cPtr, bool cMemoryOwn) : base(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialID_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FDatasmithFacadeMaterialID 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_FDatasmithFacadeMaterialID(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
base.Dispose(disposing);
}
}
public FDatasmithFacadeMaterialID(string MaterialIDName) : this(DatasmithFacadeCSharpPINVOKE.new_FDatasmithFacadeMaterialID(MaterialIDName), true) {
}
public void SetId(int Id) {
DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialID_SetId(swigCPtr, Id);
}
public int GetId() {
int ret = DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialID_GetId(swigCPtr);
return ret;
}
}