// Copyright Epic Games, Inc. All Rights Reserved. //------------------------------------------------------------------------------ // // // 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 FDatasmithFacadeMaterialExpressionScalar : FDatasmithFacadeMaterialExpression, FDatasmithFacadeExpressionParameter { private global::System.Runtime.InteropServices.HandleRef swigCPtr; internal FDatasmithFacadeMaterialExpressionScalar(global::System.IntPtr cPtr, bool cMemoryOwn) : base(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_SWIGUpcast(cPtr), cMemoryOwn) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FDatasmithFacadeMaterialExpressionScalar 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_FDatasmithFacadeMaterialExpressionScalar(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } base.Dispose(disposing); } } [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] global::System.Runtime.InteropServices.HandleRef FDatasmithFacadeExpressionParameter.GetInterfaceCPtr() { return new global::System.Runtime.InteropServices.HandleRef(this, DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_FDatasmithFacadeExpressionParameter_GetInterfaceCPtr(swigCPtr.Handle)); } public float GetScalar() { float ret = DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_GetScalar(swigCPtr); return ret; } public void SetScalar(float InScalar) { DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_SetScalar(swigCPtr, InScalar); } public virtual string GetGroupName() { string ret = global::System.Runtime.InteropServices.Marshal.PtrToStringUni(DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_GetGroupName(swigCPtr)); return ret; } public virtual void SetGroupName(string InGroupName) { DatasmithFacadeCSharpPINVOKE.FDatasmithFacadeMaterialExpressionScalar_SetGroupName(swigCPtr, InGroupName); } }