docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ReconstructTrajectoryFragment

    ReconstructTrajectoryFragment(SamplingTime)

    Reconstructs a trajectory fragment for a given sampling time in the runtime asset.

    Declaration
    public Binary.TrajectoryFragment ReconstructTrajectoryFragment(SamplingTime samplingTime)
    Parameters
    Type Name Description
    SamplingTime samplingTime

    The sampling time from which the trajectory fragment should be reconstructed.

    Returns
    Type Description
    Binary.TrajectoryFragment

    The resulting trajectory fragment.

    Remarks

    The runtime asset building process generates trajectory fragments for any segment for which a metric has been defined. These trajectory fragments are stored inside the runtime asset in a compressed format.

    Trajectory fragments can either be constructed from scratch or can be reconstructed from the information contained in the runtime asset. Reconstruction is faster than creating a trajectory fragment but is subject to loss of precision.

    In This Article
    Back to top
    Copyright © 2024 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)