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(); } }
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; }
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(); }
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); }