Class UsdSchemaAttribute
Declares the USD schema to use when serializing an object.
Namespace: USD.NET
Syntax
public class UsdSchemaAttribute : Attribute, _Attribute
Remarks
For example, any C# object may be serialized as a UsdGeomMesh by declaring the schema to be "Mesh". The C++ class name or any registered aliases may be used, e.g. UsdSchema("Mesh") and UsdSchema("UsdGeomMesh") are equivalent.
Constructors
UsdSchemaAttribute(String)
Declaration
public UsdSchemaAttribute(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name |
Properties
Name
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| String |