docs.unity3d.com
    Show / Hide Table of Contents

    Interface IRestorable

    When a prim is sparsely animated only dynamic properties are read into the Sample. This interface's purpose is to enable holding the time-invariant data (static properties or computed data) to ensure proper deserialization.

    Namespace: Unity.Formats.USD
    Syntax
    public interface IRestorable

    Methods

    FromCachedData(IRestorableData)

    Restore internal data from the cached data

    Declaration
    void FromCachedData(IRestorableData data)
    Parameters
    Type Name Description
    IRestorableData data

    IsRestoredFromCachedData()

    Returns true if the internal data has been restored from cached data

    Declaration
    bool IsRestoredFromCachedData()
    Returns
    Type Description
    Boolean

    ToCachedData()

    Return data from internal data

    Declaration
    IRestorableData ToCachedData()
    Returns
    Type Description
    IRestorableData
    Back to top
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Thursday, October 19, 2023