docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CopyFromSnapshotGenerated

    CopyFromSnapshotGenerated(in GhostDeserializerState, ref TComponent, float, float, in TSnapshot, in TSnapshot)

    Copy/Convert the data form the snapshot to the component. Support interpolation and extrapolation.

    Declaration
    [RequiredMember]
    void CopyFromSnapshotGenerated(in GhostDeserializerState serializerState, ref TComponent component, float interpolationFactor, float snapshotInterpolationFactorRaw, in TSnapshot snapshotBefore, in TSnapshot snapshotAfter)
    Parameters
    Type Name Description
    GhostDeserializerState serializerState
    TComponent component
    float interpolationFactor
    float snapshotInterpolationFactorRaw
    TSnapshot snapshotBefore
    TSnapshot snapshotAfter
    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)