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

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #2
0
        public static bool ComputeExtentFromPlugins(UsdGeomBoundable boundable, UsdTimeCode time, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBoundable_ComputeExtentFromPlugins__SWIG_1(UsdGeomBoundable.getCPtr(boundable), UsdTimeCode.getCPtr(time), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public float ComputeExtentsPadding(VtMatrix4dArray skelRestXforms, UsdGeomBoundable boundable)
        {
            float ret = UsdCsPINVOKE.UsdSkelSkinningQuery_ComputeExtentsPadding(swigCPtr, VtMatrix4dArray.getCPtr(skelRestXforms), UsdGeomBoundable.getCPtr(boundable));

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