예제 #1
0
 public void SetAssetInfoByKey(TfToken keyPath, VtValue value)
 {
     UsdCsPINVOKE.UsdObject_SetAssetInfoByKey(swigCPtr, TfToken.getCPtr(keyPath), VtValue.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 public void SetValueAtPath(StdStringVector keyPath, VtValue value)
 {
     UsdCsPINVOKE.VtDictionary_SetValueAtPath__SWIG_2(swigCPtr, StdStringVector.getCPtr(keyPath), VtValue.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #3
0
        public UsdAttribute CreatePositionsAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomPointInstancer_CreatePositionsAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public UsdAttribute CreateShapingIesNormalizeAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdLuxShapingAPI_CreateShapingIesNormalizeAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
        public UsdAttribute CreateIncludeRootAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdCollectionAPI_CreateIncludeRootAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #6
0
        public bool GetAttributeValue(TfToken attrName, VtValue valueOut, UsdTimeCode time)
        {
            bool ret = UsdCsPINVOKE.UsdPrim_GetAttributeValue(swigCPtr, TfToken.getCPtr(attrName), VtValue.getCPtr(valueOut), UsdTimeCode.getCPtr(time));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #7
0
        public bool Get(VtValue value)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_Get__SWIG_3(swigCPtr, VtValue.getCPtr(value));

            return(ret);
        }
예제 #8
0
        public VtValue GetDefaultValue()
        {
            VtValue ret = new VtValue(UsdCsPINVOKE.SdfAttributeSpecHandle_GetDefaultValue(swigCPtr), true);

            return(ret);
        }
예제 #9
0
 public void SetInfoDictionaryValue(TfToken dictionaryKey, TfToken entryKey, VtValue value)
 {
     UsdCsPINVOKE.SdfAttributeSpecHandle_SetInfoDictionaryValue(swigCPtr, TfToken.getCPtr(dictionaryKey), TfToken.getCPtr(entryKey), VtValue.getCPtr(value));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #10
0
        public UsdAttribute CreateFieldPurposeAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdVolField3DAsset_CreateFieldPurposeAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #11
0
        public UsdAttribute CreateFieldIndexAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdVolField3DAsset_CreateFieldIndexAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #12
0
        public UsdAttribute CreateUseThroughputAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdRiPxrAovLight_CreateUseThroughputAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #13
0
        public UsdAttribute CreateOnVolumeBoundariesAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdRiPxrAovLight_CreateOnVolumeBoundariesAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #14
0
        public bool Remap(VtValue source, VtValue target)
        {
            bool ret = UsdCsPINVOKE.UsdSkelAnimMapper_Remap__SWIG_5(swigCPtr, VtValue.getCPtr(source), VtValue.getCPtr(target));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #15
0
        public UsdAttribute CreateOffsetsAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdSkelBlendShape_CreateOffsetsAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #16
0
        public bool SetField(TfToken name, VtValue value)
        {
            bool ret = UsdCsPINVOKE.SdfAttributeSpecHandle_SetField(swigCPtr, TfToken.getCPtr(name), VtValue.getCPtr(value));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #17
0
        public UsdAttribute CreatePointIndicesAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdSkelBlendShape_CreatePointIndicesAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #18
0
        public UsdAttribute CreateGeomBindTransformAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdSkelBindingAPI_CreateGeomBindTransformAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #19
0
        public UsdAttribute CreateVelocityScaleAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomMotionAPI_CreateVelocityScaleAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #20
0
        public UsdAttribute CreateRangesAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomNurbsCurves_CreateRangesAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #21
0
        public UsdAttribute CreateShapingIesAngleScaleAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdLuxShapingAPI_CreateShapingIesAngleScaleAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #22
0
        public UsdAttribute CreateTreatAsLineAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdLuxCylinderLight_CreateTreatAsLineAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #23
0
        public UsdAttribute CreateExpansionRuleAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdCollectionAPI_CreateExpansionRuleAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #24
0
        public new UsdAttribute CreateExtentAttr(VtValue defaultValue, bool writeSparsely)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomCapsule_CreateExtentAttr__SWIG_0(swigCPtr, VtValue.getCPtr(defaultValue), writeSparsely), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #25
0
        public UsdAttribute CreateXformOpOrderAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomXformable_CreateXformOpOrderAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        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);
        }
        public VtValue GetValue()
        {
            VtValue ret = new VtValue(UsdCsPINVOKE.SdfUnregisteredValue_GetValue(swigCPtr), false);

            return(ret);
        }
예제 #28
0
        public UsdAttribute CreateTextureFileAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdLuxRectLight_CreateTextureFileAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #29
0
        public UsdAttribute CreateOrientationsAttr(VtValue defaultValue)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdGeomPointInstancer_CreateOrientationsAttr__SWIG_1(swigCPtr, VtValue.getCPtr(defaultValue)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #30
0
        public bool SetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
        {
            bool ret = UsdCsPINVOKE.UsdObject_SetMetadataByDictKey(swigCPtr, TfToken.getCPtr(key), TfToken.getCPtr(keyPath), VtValue.getCPtr(value));

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