docs.unity.cn
    Show / Hide Table of Contents

    Class UsdSchemaAttribute

    Declares the USD schema to use when serializing an object.

    Inheritance
    Object
    Attribute
    UsdSchemaAttribute
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023