docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Binary.Tag

    Tags are used to associate a trait to a sequence of animation frames.

    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public struct Binary.Tag
    Remarks

    Tags can be used in a variety of scenarios:

    • Narrow the result of a query
    • Control behavior of a task

    Tags are a general purpose tool that allows a custom trait to be associated with a sequence of animation frames. Queries support tags directly by allowing to include or exclude animation frames based on the associated tags.

    Tags can also be accessed directly given a reference to the runtime asset and therefore tasks can perform any kind of custom processing based on them.

    Fields

    Name Description
    firstFrame

    Denotes the first frame this tag refers to.

    intervalIndex

    Denotes the first interval index for this tag.

    numFrames

    Denotes the number of frames this tag refers to.

    numIntervals

    Denotes the number of intervals this tag belongs to.

    segmentIndex

    Denotes the segment this tag belongs to.

    traitIndex

    Denotes the associated trait.

    Properties

    Name Description
    FirstFrame

    Denotes the first frame this tag refers to.

    NumFrames

    Denotes the number of frames this tag refers to.

    OnePastLastFrame

    Denotes the one-past-last frame this tag refer to.

    See Also

    Binary.Marker
    Binary.Trait
    Query
    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)