docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct Binary.Segment

    An segment contains information about animation frames that have been extracted from the supplied animation clips during the build process.

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

    Collections of continuous animation frames that have been tagged with at least a single tag will be stored in the runtime asset during the build process. These continuous sequences are denoted as segments and the respective metadata is accessible in the runtime asset.

    Fields

    Name Description
    destination

    Denotes the sequence of frames relative to the motion library stored in the runtime asset.

    intervalIndex

    Denotes the first interval that this segment contains.

    markerIndex

    Denotes the first marker that this segment contains.

    nameIndex

    Denotes the name of the animation clip this segment has been created from.

    nextSegment

    Denotes the "right boundary" segment defined for this segment.

    numIntervals

    Denotes the number of intervals that this segment contains.

    numMarkers

    Denotes the number of markers that this segment contains.

    numTags

    Denotes the number of tags that have been associated with this segment.

    previousSegment

    Denotes the "left boundary" segment defined for this segment.

    source

    Denotes the sequence of frames relative to the original animation clip.

    tagIndex

    Denotes the first tag this segment has been associated with.

    See Also

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