Class UsdGeomSubset
Inheritance
UsdGeomSubset
Namespace: pxr
Syntax
public class UsdGeomSubset : UsdTyped, IDisposable
Constructors
UsdGeomSubset()
Declaration
UsdGeomSubset(UsdPrim)
Declaration
public UsdGeomSubset(UsdPrim prim)
Parameters
UsdGeomSubset(UsdSchemaBase)
Declaration
public UsdGeomSubset(UsdSchemaBase schemaObj)
Parameters
Methods
CreateElementTypeAttr()
Declaration
public UsdAttribute CreateElementTypeAttr()
Returns
CreateElementTypeAttr(VtValue)
Declaration
public UsdAttribute CreateElementTypeAttr(VtValue defaultValue)
Parameters
Type |
Name |
Description |
VtValue |
defaultValue |
|
Returns
CreateElementTypeAttr(VtValue, Boolean)
Declaration
public UsdAttribute CreateElementTypeAttr(VtValue defaultValue, bool writeSparsely)
Parameters
Returns
CreateFamilyNameAttr()
Declaration
public UsdAttribute CreateFamilyNameAttr()
Returns
CreateFamilyNameAttr(VtValue)
Declaration
public UsdAttribute CreateFamilyNameAttr(VtValue defaultValue)
Parameters
Type |
Name |
Description |
VtValue |
defaultValue |
|
Returns
CreateFamilyNameAttr(VtValue, Boolean)
Declaration
public UsdAttribute CreateFamilyNameAttr(VtValue defaultValue, bool writeSparsely)
Parameters
Returns
CreateGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray)
Declaration
public static UsdGeomSubset CreateGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices)
Parameters
Returns
CreateGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray, TfToken)
Declaration
public static UsdGeomSubset CreateGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices, TfToken familyName)
Parameters
Returns
CreateGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray, TfToken, TfToken)
Declaration
public static UsdGeomSubset CreateGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices, TfToken familyName, TfToken familyType)
Parameters
Returns
CreateIndicesAttr()
Declaration
public UsdAttribute CreateIndicesAttr()
Returns
CreateIndicesAttr(VtValue)
Declaration
public UsdAttribute CreateIndicesAttr(VtValue defaultValue)
Parameters
Type |
Name |
Description |
VtValue |
defaultValue |
|
Returns
CreateIndicesAttr(VtValue, Boolean)
Declaration
public UsdAttribute CreateIndicesAttr(VtValue defaultValue, bool writeSparsely)
Parameters
Returns
CreateUniqueGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray)
Declaration
public static UsdGeomSubset CreateUniqueGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices)
Parameters
Returns
CreateUniqueGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray, TfToken)
Declaration
public static UsdGeomSubset CreateUniqueGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices, TfToken familyName)
Parameters
Returns
CreateUniqueGeomSubset(UsdGeomImageable, TfToken, TfToken, VtIntArray, TfToken, TfToken)
Declaration
public static UsdGeomSubset CreateUniqueGeomSubset(UsdGeomImageable geom, TfToken subsetName, TfToken elementType, VtIntArray indices, TfToken familyName, TfToken familyType)
Parameters
Returns
Define(UsdStageWeakPtr, SdfPath)
Declaration
public static UsdGeomSubset Define(UsdStageWeakPtr stage, SdfPath path)
Parameters
Returns
Dispose()
Declaration
public override void Dispose()
Overrides
Finalize()
Declaration
protected void Finalize()
Get(UsdStageWeakPtr, SdfPath)
Declaration
public static UsdGeomSubset Get(UsdStageWeakPtr stage, SdfPath path)
Parameters
Returns
GetAllGeomSubsetFamilyNames(UsdGeomImageable)
Declaration
public static SWIGTYPE_p_std__setT_TfToken_TfTokenFastArbitraryLessThan_t GetAllGeomSubsetFamilyNames(UsdGeomImageable geom)
Parameters
Returns
GetAllGeomSubsets(UsdGeomImageable)
Declaration
public static UsdGeomSubsetVector GetAllGeomSubsets(UsdGeomImageable geom)
Parameters
Returns
GetElementTypeAttr()
Declaration
public UsdAttribute GetElementTypeAttr()
Returns
GetFamilyNameAttr()
Declaration
public UsdAttribute GetFamilyNameAttr()
Returns
GetFamilyType(UsdGeomImageable, TfToken)
Declaration
public static TfToken GetFamilyType(UsdGeomImageable geom, TfToken familyName)
Parameters
Returns
GetGeomSubsets(UsdGeomImageable)
Declaration
public static UsdGeomSubsetVector GetGeomSubsets(UsdGeomImageable geom)
Parameters
Returns
GetGeomSubsets(UsdGeomImageable, TfToken)
Declaration
public static UsdGeomSubsetVector GetGeomSubsets(UsdGeomImageable geom, TfToken elementType)
Parameters
Returns
GetGeomSubsets(UsdGeomImageable, TfToken, TfToken)
Declaration
public static UsdGeomSubsetVector GetGeomSubsets(UsdGeomImageable geom, TfToken elementType, TfToken familyName)
Parameters
Returns
GetIndicesAttr()
Declaration
public UsdAttribute GetIndicesAttr()
Returns
GetSchemaAttributeNames()
Declaration
public static TfTokenVector GetSchemaAttributeNames()
Returns
GetSchemaAttributeNames(Boolean)
Declaration
public static TfTokenVector GetSchemaAttributeNames(bool includeInherited)
Parameters
Type |
Name |
Description |
Boolean |
includeInherited |
|
Returns
GetUnassignedIndices(UsdGeomSubsetVector, UInt32)
Declaration
public static VtIntArray GetUnassignedIndices(UsdGeomSubsetVector subsets, uint elementCount)
Parameters
Returns
GetUnassignedIndices(UsdGeomSubsetVector, UInt32, UsdTimeCode)
Declaration
public static VtIntArray GetUnassignedIndices(UsdGeomSubsetVector subsets, uint elementCount, UsdTimeCode time)
Parameters
Returns
SetFamilyType(UsdGeomImageable, TfToken, TfToken)
Declaration
public static bool SetFamilyType(UsdGeomImageable geom, TfToken familyName, TfToken familyType)
Parameters
Returns
ValidateFamily(UsdGeomImageable, TfToken, TfToken, out String)
Declaration
public static bool ValidateFamily(UsdGeomImageable geom, TfToken elementType, TfToken familyName, out string reason)
Parameters
Returns
ValidateSubsets(UsdGeomSubsetVector, UInt32, TfToken, out String)
Declaration
public static bool ValidateSubsets(UsdGeomSubsetVector subsets, uint elementCount, TfToken familyType, out string reason)
Parameters
Returns
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.