docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Binary.Interval

    An interval contains information about a sequence of animation frames that collectively share the same set of tags.

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

    The runtime asset building process only considers animation frames that are tagged with at least a single trait. Continuous sequences of such frames are arranged into segments. Segments in turn can contain multiple intervals with different traits applied. Intervals are therefore defined to be sequences of animation frames that collectively share the same set of tags.

    Fields

    Name Description
    codeBookIndex

    Denotes the associated code book.

    firstFrame

    Denotes the first frame of the sequence of frames relative to the segment.

    numFrames

    Denotes the number of sequence frames relative to the segment.

    segmentIndex

    Denotes the segment this interval belongs to.

    tagListIndex

    Association with list of tags that are defined over this interval.

    Properties

    Name Description
    onePastLastFrame

    Denotes the end frame of the sequence of frames relative to the segment.

    timeIndex

    Denotes a time index corresponding to the first frame of the interval.

    Methods

    Name Description
    Contains(int)

    Determines whether or not the given frame index is contained in the interval.

    Contains(TimeIndex)

    Determines whether or not the given time index is contained in the interval.

    GetTimeIndex(int)

    Creates a time index relative to the beginning of the interval.

    See Also

    Binary.Segment
    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)