Exemple #1
0
 public void SetTextureScale(SWIGTYPE_p_Vector2 uvScale, int textureIndex)
 {
     SharpMochaPINVOKE.Material_SetTextureScale(swigCPtr, SWIGTYPE_p_Vector2.getCPtr(uvScale), textureIndex);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending)
     {
         throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Vector2 obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #3
0
 public void SetTextureScale(SWIGTYPE_p_Vector2 uvScale, int textureIndex)
 {
     SharpMochaPINVOKE.Material_SetTextureScale(swigCPtr, SWIGTYPE_p_Vector2.getCPtr(uvScale), textureIndex);
     if (SharpMochaPINVOKE.SWIGPendingException.Pending) throw SharpMochaPINVOKE.SWIGPendingException.Retrieve();
 }
Exemple #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_Vector2 obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }