示例#1
0
        public static UsdGeomSphere Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomSphere ret = new UsdGeomSphere(UsdCsPINVOKE.UsdGeomSphere_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdGeomSphere obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }