private void Set_Handle(AssetHandle newhandle) { var info = (this.DataContext as PropertyValueConverter.PropertyInfo); System.Reflection.PropertyInfo i = info.PropertyObj.GetType().GetProperty(info.PropertyName); i.SetValue(info.PropertyObj, newhandle); info.PropertyValue = newhandle; }
public AssetHandle(AssetHandle rhs) : this(SharpMochaPINVOKE.new_AssetHandle__SWIG_1(AssetHandle.getCPtr(rhs)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddAnimation(AssetHandle anim) { SharpMochaPINVOKE.CAnimationController_AddAnimation(swigCPtr, AssetHandle.getCPtr(anim)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetTexture(AssetHandle hnd) { SharpMochaPINVOKE.TextureNode_SetTexture__SWIG_0(swigCPtr, AssetHandle.getCPtr(hnd)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public override void SetMesh(AssetHandle meshHandle) { SharpMochaPINVOKE.CSkinMeshRenderer_SetMesh(swigCPtr, AssetHandle.getCPtr(meshHandle)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public AssetHandle GetAsset(string assetId) { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.AssetManager_GetAsset__SWIG_1(swigCPtr, assetId), true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool CanDropOn(AssetHandle handle) { if (!handle.Valid()) return true; string underlyingtype = handle.GetUnderlyingAssetType(); if (underlyingtype == type) return true; if (marshal_type != null && underlyingtype == marshal_type) return true; return false; }
public override void SetMesh(AssetHandle meshHandle) { SharpMochaPINVOKE.CSkinMeshRenderer_SetMesh(swigCPtr, AssetHandle.getCPtr(meshHandle)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public AssetHandle GetTexture() { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.TextureNode_GetTexture(swigCPtr), false); return(ret); }
public AssetHandle(AssetHandle rhs) : this(SharpMochaPINVOKE.new_AssetHandle__SWIG_1(AssetHandle.getCPtr(rhs)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public AssetHandle GetAsset(uint assetId) { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.AssetManager_GetAsset__SWIG_0(swigCPtr, assetId), true); return(ret); }
public AssetHandle GetTexture() { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.TextureNode_GetTexture(swigCPtr), false); return ret; }
public void SetTexture(AssetHandle hnd) { SharpMochaPINVOKE.TextureNode_SetTexture__SWIG_0(swigCPtr, AssetHandle.getCPtr(hnd)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
public void AddAnimation(AssetHandle anim) { SharpMochaPINVOKE.CAnimationController_AddAnimation(swigCPtr, AssetHandle.getCPtr(anim)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AssetHandle obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public AssetHandle GetAsset(uint assetId) { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.AssetManager_GetAsset__SWIG_0(swigCPtr, assetId), true); return ret; }
public AssetHandle GetAsset(string assetId) { AssetHandle ret = new AssetHandle(SharpMochaPINVOKE.AssetManager_GetAsset__SWIG_1(swigCPtr, assetId), true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AssetHandle obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }