Struct Binary.Segment.Interval | Kinematica | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Binary.Segment.Interval

    Denotes a sequence of animation frames

    Namespace: Unity.Kinematica
    Syntax
    public struct Interval

    Fields

    firstFrame

    Denotes the first frame of the interval.

    Declaration
    public int firstFrame
    Field Value
    Type Description
    Int32

    numFrames

    Denotes the number of frames for the interval.

    Declaration
    public int numFrames
    Field Value
    Type Description
    Int32

    Properties

    FirstFrame

    Denotes the first frame of the interval.

    Declaration
    public int FirstFrame { get; }
    Property Value
    Type Description
    Int32

    NumFrames

    Denotes the number of frames for the interval.

    Declaration
    public int NumFrames { get; }
    Property Value
    Type Description
    Int32

    OnePastLastFrame

    Denotes the one-past-last frame of the interval.

    Declaration
    public int OnePastLastFrame { get; }
    Property Value
    Type Description
    Int32

    Methods

    Contains(Int32)

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

    Declaration
    public bool Contains(int frame)
    Parameters
    Type Name Description
    Int32 frame

    An index to check the interval for.

    Returns
    Type Description
    Boolean

    True if the given index is contained in the interval; false otherwise.

    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