예제 #1
0
        public GfBBox3d ComputePointInstanceUntransformedBound(UsdGeomPointInstancer instancer, long instanceId)
        {
            GfBBox3d ret = new GfBBox3d(UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceUntransformedBound(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceId), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #2
0
        public bool ComputePointInstanceUntransformedBounds(UsdGeomPointInstancer instancer, long[] instanceIdBegin, uint numIds, GfBBox3d result)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceUntransformedBounds(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceIdBegin, numIds, GfBBox3d.getCPtr(result));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public GfBBox3d ComputePointInstanceRelativeBound(UsdGeomPointInstancer instancer, long instanceId, UsdPrim relativeToAncestorPrim)
        {
            GfBBox3d ret = new GfBBox3d(UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceRelativeBound(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceId, UsdPrim.getCPtr(relativeToAncestorPrim)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public bool ComputePointInstanceRelativeBounds(UsdGeomPointInstancer instancer, long[] instanceIdBegin, uint numIds, UsdPrim relativeToAncestorPrim, GfBBox3d result)
        {
            bool ret = UsdCsPINVOKE.UsdGeomBBoxCache_ComputePointInstanceRelativeBounds(swigCPtr, UsdGeomPointInstancer.getCPtr(instancer), instanceIdBegin, numIds, UsdPrim.getCPtr(relativeToAncestorPrim), GfBBox3d.getCPtr(result));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static UsdGeomPointInstancer Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdGeomPointInstancer ret = new UsdGeomPointInstancer(UsdCsPINVOKE.UsdGeomPointInstancer_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

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