Files
UnrealEngine/Engine/Source/Programs/Enterprise/Datasmith/DatasmithFacadeCSharp/Public/FDatasmithFacadeKeyValueProperty.cs
2025-05-18 13:04:45 +08:00

69 lines
2.6 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 FDatasmithFacadeKeyValueProperty : FDatasmithFacadeElement {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
internal FDatasmithFacadeKeyValueProperty(global::System.IntPtr cPtr, bool cMemoryOwn) : base(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeKeyValueProperty_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FDatasmithFacadeKeyValueProperty 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_FDatasmithFacadeKeyValueProperty(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
base.Dispose(disposing);
}
}
public FDatasmithFacadeKeyValueProperty(string InName) : this(DatasmithFacadeCSharpPINVOKE.new_FDatasmithFacadeKeyValueProperty(InName), true) {
}
public FDatasmithFacadeKeyValueProperty.EKeyValuePropertyType GetPropertyType() {
FDatasmithFacadeKeyValueProperty.EKeyValuePropertyType ret = (FDatasmithFacadeKeyValueProperty.EKeyValuePropertyType)DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeKeyValueProperty_GetPropertyType(swigCPtr);
return ret;
}
public void SetPropertyType(FDatasmithFacadeKeyValueProperty.EKeyValuePropertyType InType) {
DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeKeyValueProperty_SetPropertyType(swigCPtr, (int)InType);
}
public string GetValue() {
string ret = global::System.Runtime.InteropServices.Marshal.PtrToStringUni(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeKeyValueProperty_GetValue(swigCPtr));
return ret;
}
public void SetValue(string Value) {
DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeKeyValueProperty_SetValue(swigCPtr, Value);
}
public enum EKeyValuePropertyType {
String,
Color,
Float,
Bool,
Texture,
Vector
}
}