docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PlayAtTime

    PlayAtTime(TimeIndex)

    Switches the pose generation stream to read from the time index passed as argument.

    Declaration
    public void PlayAtTime(TimeIndex timeIndex)
    Parameters
    Type Name Description
    TimeIndex timeIndex

    New starting time index for the pose generation.

    Remarks

    Animation poses are always generated continuously based on a sampling time. This method allows to switch to a new starting time. The motion synthesizer automatically handles any discrepancies between the old and the new pose.

    PlayAtTime(SamplingTime)

    Switches the pose generation stream to read from the sampling time passed as argument.

    Declaration
    public void PlayAtTime(SamplingTime samplingTime)
    Parameters
    Type Name Description
    SamplingTime samplingTime

    New sampling time for the pose generation.

    Remarks

    Animation poses are always generated continuously based on a time index. This method allows to switch to a new starting time. The motion synthesizer automatically handles any discrepancies between the old and the new pose.

    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)