コード例 #1
0
        public bool CanConnect(UsdAttribute source)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_CanConnect__SWIG_0(swigCPtr, UsdAttribute.getCPtr(source));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public static bool IsValid(UsdAttribute attr)
        {
            bool ret = UsdCsPINVOKE.UsdGeomConstraintTarget_IsValid(UsdAttribute.getCPtr(attr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
        public static bool ClearSource(UsdAttribute shadingAttr)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ClearSource__SWIG_0(UsdAttribute.getCPtr(shadingAttr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
        public static bool IsInput(UsdAttribute attr)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_IsInput(UsdAttribute.getCPtr(attr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public static bool IsInbetween(UsdAttribute attr)
        {
            bool ret = UsdCsPINVOKE.UsdSkelInbetweenShape_IsInbetween(UsdAttribute.getCPtr(attr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public static bool IsPrimvar(UsdAttribute attr)
        {
            bool ret = UsdCsPINVOKE.UsdGeomPrimvar_IsPrimvar(UsdAttribute.getCPtr(attr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeOutput sourceOutput)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_15(UsdAttribute.getCPtr(shadingAttr), UsdShadeOutput.getCPtr(sourceOutput));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
        public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_ConnectToSource__SWIG_2(UsdAttribute.getCPtr(shadingAttr), UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #9
0
        public static bool IsXformOp(UsdAttribute attr)
        {
            bool ret = UsdCsPINVOKE.UsdGeomXformOp_IsXformOp__SWIG_0(UsdAttribute.getCPtr(attr));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #10
0
        public static bool GetRawConnectedSourcePaths(UsdAttribute shadingAttr, SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetRawConnectedSourcePaths__SWIG_0(UsdAttribute.getCPtr(shadingAttr), SdfPathVector.getCPtr(sourcePaths));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
 public UsdSkelSkinningQuery(UsdPrim prim, VtTokenArray skelJointOrder, VtTokenArray blendShapeOrder, UsdAttribute jointIndices, UsdAttribute jointWeights, UsdAttribute geomBindTransform, UsdAttribute joints, UsdAttribute blendShapes, UsdRelationship blendShapeTargets) : this(UsdCsPINVOKE.new_UsdSkelSkinningQuery__SWIG_1(UsdPrim.getCPtr(prim), VtTokenArray.getCPtr(skelJointOrder), VtTokenArray.getCPtr(blendShapeOrder), UsdAttribute.getCPtr(jointIndices), UsdAttribute.getCPtr(jointWeights), UsdAttribute.getCPtr(geomBindTransform), UsdAttribute.getCPtr(joints), UsdAttribute.getCPtr(blendShapes), UsdRelationship.getCPtr(blendShapeTargets)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #12
0
 public UsdSkelInbetweenShape(UsdAttribute attr) : this(UsdCsPINVOKE.new_UsdSkelInbetweenShape__SWIG_1(UsdAttribute.getCPtr(attr)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #13
0
        public static bool CanConnect(UsdShadeOutput output, UsdAttribute source)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_CanConnect__SWIG_3(UsdShadeOutput.getCPtr(output), UsdAttribute.getCPtr(source));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #14
0
        public bool SetAttribute(UsdAttribute attr, VtValue value)
        {
            bool ret = UsdCsPINVOKE.UsdUtilsSparseValueWriter_SetAttribute__SWIG_1(swigCPtr, UsdAttribute.getCPtr(attr), VtValue.getCPtr(value));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #15
0
        public static bool GetConnectedSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetConnectedSource__SWIG_0(UsdAttribute.getCPtr(shadingAttr), UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName), out sourceType);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #16
0
 public UsdShadeOutput(UsdAttribute attr) : this(UsdCsPINVOKE.new_UsdShadeOutput__SWIG_1(UsdAttribute.getCPtr(attr)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #17
0
 public UsdUtilsSparseAttrValueWriter(UsdAttribute attr) : this(UsdCsPINVOKE.new_UsdUtilsSparseAttrValueWriter__SWIG_1(UsdAttribute.getCPtr(attr)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #18
0
 public UsdGeomXformOp(UsdAttribute attr, bool isInverseOp) : this(UsdCsPINVOKE.new_UsdGeomXformOp__SWIG_1(UsdAttribute.getCPtr(attr), isInverseOp), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #19
0
 public UsdGeomPrimvar(UsdAttribute attr) : this(UsdCsPINVOKE.new_UsdGeomPrimvar__SWIG_1(UsdAttribute.getCPtr(attr)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #20
0
        public static bool IsSourceConnectionFromBaseMaterial(UsdAttribute shadingAttr)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_IsSourceConnectionFromBaseMaterial__SWIG_0(UsdAttribute.getCPtr(shadingAttr));

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