Struct TinyAnimationPlaybackInfo | Project Tiny | 0.32.0-preview.54
docs.unity3d.com
    Show / Hide Table of Contents

    Struct TinyAnimationPlaybackInfo

    Contains the meta information that determines the behaviour of an animation clip

    Namespace: Unity.Tiny.Animation
    Syntax
    public struct TinyAnimationPlaybackInfo : IComponentData

    Fields

    CycleOffset

    The normalized offset (0..1) at which to start the animation clip when playing it from the beginning.

    Declaration
    public float CycleOffset
    Field Value
    Type Description
    Single
    Remarks

    This setting only applies to animation clips with a wrap mode of Loop or PingPong

    Duration

    The duration of the animation clip, in seconds.

    Declaration
    public float Duration
    Field Value
    Type Description
    Single

    WrapMode

    The behaviour of the clip, once it's evaluated beyond its duration.

    Declaration
    public WrapMode WrapMode
    Field Value
    Type Description
    WrapMode
    See Also
    WrapMode
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • 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 18 October 2023