Ejemplo n.º 1
0
        public static TfToken GetRiAttributeNameSpace(UsdProperty prop)
        {
            TfToken ret = new TfToken(UsdCsPINVOKE.UsdRiStatementsAPI_GetRiAttributeNameSpace(UsdProperty.getCPtr(prop)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
        public UsdProperty FlattenTo(UsdProperty property)
        {
            UsdProperty ret = new UsdProperty(UsdCsPINVOKE.UsdProperty_FlattenTo__SWIG_2(swigCPtr, UsdProperty.getCPtr(property)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 3
0
        public static bool IsSourceConnectionFromBaseMaterial(UsdProperty shadingProp)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_IsSourceConnectionFromBaseMaterial__SWIG_0(UsdProperty.getCPtr(shadingProp));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 4
0
        public static bool HasConnectedSource(UsdProperty shadingProp)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_HasConnectedSource__SWIG_0(UsdProperty.getCPtr(shadingProp));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 5
0
        public static bool GetRawConnectedSourcePaths(UsdProperty shadingProp, SdfPathVector sourcePaths)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetRawConnectedSourcePaths__SWIG_0(UsdProperty.getCPtr(shadingProp), SdfPathVector.getCPtr(sourcePaths));

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public static bool GetConnectedSource(UsdProperty shadingProp, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
        {
            bool ret = UsdCsPINVOKE.UsdShadeConnectableAPI_GetConnectedSource__SWIG_0(UsdProperty.getCPtr(shadingProp), UsdShadeConnectableAPI.getCPtr(source), TfToken.getCPtr(sourceName), out sourceType);

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