コード例 #1
0
 public CollectionBinding(UsdRelationship collBindingRel) : this(UsdCsPINVOKE.new_UsdShadeMaterialBindingAPI_CollectionBinding__SWIG_1(UsdRelationship.getCPtr(collBindingRel)), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
        public static bool SetMaterialBindingStrength(UsdRelationship bindingRel, TfToken bindingStrength)
        {
            bool ret = UsdCsPINVOKE.UsdShadeMaterialBindingAPI_SetMaterialBindingStrength(UsdRelationship.getCPtr(bindingRel), TfToken.getCPtr(bindingStrength));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
ファイル: UsdPrim.cs プロジェクト: feniksa/usd-unity-sdk
        public UsdRelationship GetRelationship(TfToken relName)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_GetRelationship(swigCPtr, TfToken.getCPtr(relName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
ファイル: UsdPrim.cs プロジェクト: feniksa/usd-unity-sdk
        public UsdRelationship CreateRelationship(TfToken relName, bool custom)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_CreateRelationship__SWIG_0(swigCPtr, TfToken.getCPtr(relName), custom), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #5
0
        public UsdShadeMaterial ComputeBoundMaterial(TfToken materialPurpose, UsdRelationship bindingRel)
        {
            UsdShadeMaterial ret = new UsdShadeMaterial(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_ComputeBoundMaterial__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose), UsdRelationship.getCPtr(bindingRel)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #6
0
        public static UsdRelationship GetBindingRel(UsdPrim prim)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeMaterial_GetBindingRel(UsdPrim.getCPtr(prim)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public static TfToken GetMaterialBindingStrength(UsdRelationship bindingRel)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetMaterialBindingStrength(UsdRelationship.getCPtr(bindingRel)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
ファイル: UsdPrim.cs プロジェクト: feniksa/usd-unity-sdk
        public UsdRelationship GetRelationshipAtPath(SdfPath path)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_GetRelationshipAtPath(swigCPtr, SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #9
0
        public UsdRelationship GetCollectionBindingRel(TfToken bindingName)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetCollectionBindingRel__SWIG_1(swigCPtr, TfToken.getCPtr(bindingName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #10
0
        public UsdRelationship GetDirectBindingRel(TfToken materialPurpose)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetDirectBindingRel__SWIG_0(swigCPtr, TfToken.getCPtr(materialPurpose)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #11
0
ファイル: UsdPrim.cs プロジェクト: feniksa/usd-unity-sdk
        public UsdRelationship CreateRelationship(StdStringVector nameElts)
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdPrim_CreateRelationship__SWIG_3(swigCPtr, StdStringVector.getCPtr(nameElts)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #12
0
        public UsdRelationship GetBlendShapeTargetsRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdSkelSkinningQuery_GetBlendShapeTargetsRel(swigCPtr), false);

            return(ret);
        }
コード例 #13
0
        public UsdRelationship GetRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeOutput_GetRel(swigCPtr), true);

            return(ret);
        }
コード例 #14
0
        public UsdRelationship CreateGeometryRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdLuxGeometryLight_CreateGeometryRel(swigCPtr), true);

            return(ret);
        }
コード例 #15
0
        public UsdRelationship CreatePortalsRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdLuxDomeLight_CreatePortalsRel(swigCPtr), true);

            return(ret);
        }
コード例 #16
0
        public UsdRelationship CreateProxyPrimRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdGeomImageable_CreateProxyPrimRel(swigCPtr), true);

            return(ret);
        }
コード例 #17
0
            public UsdRelationship GetBindingRel()
            {
                UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_CollectionBinding_GetBindingRel(swigCPtr), false);

                return(ret);
            }
コード例 #18
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdRelationship obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #19
0
        public UsdRelationship GetDirectBindingRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdShadeMaterialBindingAPI_GetDirectBindingRel__SWIG_1(swigCPtr), true);

            return(ret);
        }
コード例 #20
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();
     }
 }
コード例 #21
0
        public UsdRelationship CreateBindingTargetsRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdGeomFaceSetAPI_CreateBindingTargetsRel(swigCPtr), true);

            return(ret);
        }
コード例 #22
0
        public UsdRelationship CreateExcludesRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdCollectionAPI_CreateExcludesRel(swigCPtr), true);

            return(ret);
        }
コード例 #23
0
        public UsdRelationship CreateLightListRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdLuxListAPI_CreateLightListRel(swigCPtr), true);

            return(ret);
        }
コード例 #24
0
        public UsdRelationship CreateFiltersRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdLuxLight_CreateFiltersRel(swigCPtr), true);

            return(ret);
        }
コード例 #25
0
        public UsdRelationship CreateSkeletonRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdSkelBindingAPI_CreateSkeletonRel(swigCPtr), true);

            return(ret);
        }
コード例 #26
0
        public UsdRelationship CreateTargetsRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdGeomCollectionAPI_CreateTargetsRel(swigCPtr), true);

            return(ret);
        }
コード例 #27
0
        public UsdRelationship GetAnimationSourceRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdSkelBindingAPI_GetAnimationSourceRel(swigCPtr), true);

            return(ret);
        }
コード例 #28
0
        public UsdRelationship CreatePrototypesRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdGeomPointInstancer_CreatePrototypesRel(swigCPtr), true);

            return(ret);
        }
コード例 #29
0
        public UsdRelationship CreateBlendShapeTargetsRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdSkelBindingAPI_CreateBlendShapeTargetsRel(swigCPtr), true);

            return(ret);
        }
コード例 #30
0
        public UsdRelationship CreateShadowExcludeRel()
        {
            UsdRelationship ret = new UsdRelationship(UsdCsPINVOKE.UsdLuxShadowAPI_CreateShadowExcludeRel(swigCPtr), true);

            return(ret);
        }