Esempio n. 1
0
        public static bool ComputeExtent(VtVec3fArray points, VtFloatArray widths, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCurves_ComputeExtent__SWIG_1(VtVec3fArray.getCPtr(points), VtFloatArray.getCPtr(widths), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 2
0
        public static bool ComputeExtent(double height, double radius, TfToken axis, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCone_ComputeExtent__SWIG_0(height, radius, TfToken.getCPtr(axis), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public static bool ComputeExtent(double height, double radius, TfToken axis, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCylinder_ComputeExtent__SWIG_1(height, radius, TfToken.getCPtr(axis), GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 4
0
        public static bool ComputeExtent(double radius, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomSphere_ComputeExtent__SWIG_0(radius, VtVec3fArray.getCPtr(extent));

            return(ret);
        }
Esempio n. 5
0
        public static bool ComputeExtent(double radius, GfMatrix4d transform, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomSphere_ComputeExtent__SWIG_1(radius, GfMatrix4d.getCPtr(transform), VtVec3fArray.getCPtr(extent));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 6
0
        public static bool ComputeInstanceTransformsAtTime(VtMatrix4dArray xforms, UsdStageWeakPtr stage, UsdTimeCode time, VtIntArray protoIndices, VtVec3fArray positions, VtVec3fArray velocities, UsdTimeCode velocitiesSampleTime, VtVec3fArray scales, VtQuathArray orientations, VtVec3fArray angularVelocities, UsdTimeCode angularVelocitiesSampleTime, SdfPathVector protoPaths, UsdGeomBoolVector mask)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeInstanceTransformsAtTime__SWIG_4(VtMatrix4dArray.getCPtr(xforms), UsdStageWeakPtr.getCPtr(stage), UsdTimeCode.getCPtr(time), VtIntArray.getCPtr(protoIndices), VtVec3fArray.getCPtr(positions), VtVec3fArray.getCPtr(velocities), UsdTimeCode.getCPtr(velocitiesSampleTime), VtVec3fArray.getCPtr(scales), VtQuathArray.getCPtr(orientations), VtVec3fArray.getCPtr(angularVelocities), UsdTimeCode.getCPtr(angularVelocitiesSampleTime), SdfPathVector.getCPtr(protoPaths), UsdGeomBoolVector.getCPtr(mask));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public bool ComputeExtentAtTime(VtVec3fArray extent, UsdTimeCode time, UsdTimeCode baseTime, GfMatrix4d transform)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPointInstancer_ComputeExtentAtTime__SWIG_1(swigCPtr, VtVec3fArray.getCPtr(extent), UsdTimeCode.getCPtr(time), UsdTimeCode.getCPtr(baseTime), GfMatrix4d.getCPtr(transform));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 static public void ToVtArray(List <UnityEngine.Color> input,
                              out VtVec3fArray rgb,
                              out VtFloatArray alpha)
 {
     ToVtArray(input.ToArray(), out rgb, out alpha);
 }
        public bool ComputeSkinnedPoints(VtMatrix4dArray xforms, VtVec3fArray points)
        {
            bool ret = UsdCsPINVOKE.UsdSkelSkinningQuery_ComputeSkinnedPoints__SWIG_1(swigCPtr, VtMatrix4dArray.getCPtr(xforms), VtVec3fArray.getCPtr(points));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 10
0
        public static bool ComputeExtent(double size, VtVec3fArray extent)
        {
            bool ret = UsdCsPINVOKE.UsdGeomCube_ComputeExtent__SWIG_0(size, VtVec3fArray.getCPtr(extent));

            return(ret);
        }
Esempio n. 11
0
        public bool ComputeJointLocalTransformComponents(VtVec3fArray translations, VtQuatfArray rotations, VtVec3hArray scales)
        {
            bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_ComputeJointLocalTransformComponents__SWIG_1(swigCPtr, VtVec3fArray.getCPtr(translations), VtQuatfArray.getCPtr(rotations), VtVec3hArray.getCPtr(scales));

            return(ret);
        }
Esempio n. 12
0
        public bool ComputeJointLocalTransformComponents(VtVec3fArray translations, VtQuatfArray rotations, VtVec3hArray scales, UsdTimeCode time)
        {
            bool ret = UsdCsPINVOKE.UsdSkelAnimQuery_ComputeJointLocalTransformComponents__SWIG_0(swigCPtr, VtVec3fArray.getCPtr(translations), VtQuatfArray.getCPtr(rotations), VtVec3hArray.getCPtr(scales), UsdTimeCode.getCPtr(time));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }