Exemplo n.º 1
0
        public bool SetTypeName(SdfValueTypeName typeName)
        {
            bool ret = UsdCsPINVOKE.UsdAttribute_SetTypeName(swigCPtr, SdfValueTypeName.getCPtr(typeName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
        public static bool Equals(SdfValueTypeName lhs, SdfValueTypeName rhs)
        {
            bool ret = UsdCsPINVOKE.SdfValueTypeName_Equals(SdfValueTypeName.getCPtr(lhs), SdfValueTypeName.getCPtr(rhs));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public UsdShadeInput CreateInput(TfToken name, SdfValueTypeName typeName)
        {
            UsdShadeInput ret = new UsdShadeInput(UsdCsPINVOKE.UsdShadeShader_CreateInput(swigCPtr, TfToken.getCPtr(name), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 public void GetDeclarationInfo(TfToken name, SdfValueTypeName typeName, TfToken interpolation, out int elementSize)
 {
     UsdCsPINVOKE.UsdGeomPrimvar_GetDeclarationInfo(swigCPtr, TfToken.getCPtr(name), SdfValueTypeName.getCPtr(typeName), TfToken.getCPtr(interpolation), out elementSize);
 }
Exemplo n.º 5
0
        public UsdAttribute CreateAttribute(StdStringVector nameElts, SdfValueTypeName typeName)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdPrim_CreateAttribute__SWIG_7(swigCPtr, StdStringVector.getCPtr(nameElts), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
        public UsdAttribute CreateAttribute(TfToken name, SdfValueTypeName typeName)
        {
            UsdAttribute ret = new UsdAttribute(UsdCsPINVOKE.UsdPrim_CreateAttribute__SWIG_3(swigCPtr, TfToken.getCPtr(name), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName)
        {
            SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpecHandle_New__SWIG_2(swigCPtr, SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
        {
            bool ret = UsdCsPINVOKE.UsdShadeInput_ConnectToSource__SWIG_0(swigCPtr, UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName), (int)sourceType, SdfValueTypeName.getCPtr(typeName));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
 public UsdRiSplineAPI(UsdSchemaBase schemaObj, TfToken splineName, SdfValueTypeName valuesTypeName, bool doesDuplicateBSplineEndpoints) : this(UsdCsPINVOKE.new_UsdRiSplineAPI__SWIG_4(UsdSchemaBase.getCPtr(schemaObj), TfToken.getCPtr(splineName), SdfValueTypeName.getCPtr(valuesTypeName), doesDuplicateBSplineEndpoints), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 10
0
        public UsdGeomPrimvar CreatePrimvar(TfToken attrName, SdfValueTypeName typeName)
        {
            UsdGeomPrimvar ret = new UsdGeomPrimvar(UsdCsPINVOKE.UsdGeomImageable_CreatePrimvar__SWIG_2(swigCPtr, TfToken.getCPtr(attrName), SdfValueTypeName.getCPtr(typeName)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
        public static SdfAttributeSpecHandle New(SdfRelationshipSpecHandle owner, SdfPath targetPath, string name, SdfValueTypeName typeName, SdfVariability variability)
        {
            SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpec_New__SWIG_4(SdfRelationshipSpecHandle.getCPtr(owner), SdfPath.getCPtr(targetPath), name, SdfValueTypeName.getCPtr(typeName), (int)variability), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 12
0
        public static SdfAttributeSpecHandle New(SdfPrimSpecHandle owner, string name, SdfValueTypeName typeName, SdfVariability variability, bool custom)
        {
            SdfAttributeSpecHandle ret = new SdfAttributeSpecHandle(UsdCsPINVOKE.SdfAttributeSpec_New__SWIG_0(SdfPrimSpecHandle.getCPtr(owner), name, SdfValueTypeName.getCPtr(typeName), (int)variability, custom), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 13
0
 public static UsdGeomXformOp.Precision GetPrecisionFromValueTypeName(SdfValueTypeName typeName)
 {
     UsdGeomXformOp.Precision ret = (UsdGeomXformOp.Precision)UsdCsPINVOKE.UsdGeomXformOp_GetPrecisionFromValueTypeName(SdfValueTypeName.getCPtr(typeName));
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }