docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field ArbitraryPrimvars

    Container to hold extra primvars properties This is typically used to only deserialize the specific uv properties used by a mesh material and can only be discovered when materials have been processed. This could be extended to contains user defined primvars. Note the ForceNoNamespace attribute that instruct the deserialization code to keep the attributes in the "primvars" namespace. In unity mesh attributes are the same size as the vertex array so let's set the default interpolation to varying. When reading from USD the actual interpolation mode will be set.

    Namespace: USD.NET.Unity
    Assembly: solution.dll
    Syntax
    public Dictionary<string, Primvar<object>> ArbitraryPrimvars
    Returns
    Type Description
    Dictionary<string, Primvar<object>>
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)