Exemple #1
0
        public static UsdLuxShapingAPI Get(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdLuxShapingAPI ret = new UsdLuxShapingAPI(UsdCsPINVOKE.UsdLuxShapingAPI_Get(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public static UsdLuxShapingAPI Apply(UsdPrim prim)
        {
            UsdLuxShapingAPI ret = new UsdLuxShapingAPI(UsdCsPINVOKE.UsdLuxShapingAPI_Apply(UsdPrim.getCPtr(prim)), true);

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