Search Results for

    Show / Hide Table of Contents

    Class AnimationTrackClip

    Represents an animation track clip.

    Inheritance
    object
    AnimationBlendClip
    AnimationTrackClip
    Inherited Members
    AnimationBlendClip.State
    AnimationBlendClip.clock
    AnimationBlendClip.ForceUpdate
    AnimationBlendClip.sample
    AnimationBlendClip.HierarchyMapping
    AnimationBlendClip.ListenKeyframeEvents
    AnimationBlendClip.UpdateRequired
    AnimationBlendClip.GlobalStartTime
    AnimationBlendClip.Frame
    AnimationBlendClip.Phase
    AnimationBlendClip.Sample
    AnimationBlendClip.Play()
    AnimationBlendClip.Pause()
    AnimationBlendClip.BaseUpdateClip()
    Namespace: Evergine.Components.Animation
    Assembly: Evergine.Framework.dll
    Syntax
    public class AnimationTrackClip : AnimationBlendClip

    Constructors

    AnimationTrackClip(AnimationClip, bool, float, float?, float?)

    Initializes a new instance of the AnimationTrackClip class.

    Declaration
    public AnimationTrackClip(AnimationClip track, bool looping = false, float playbackRate = 1, float? startTime = null, float? endTime = null)
    Parameters
    Type Name Description
    AnimationClip track

    The animation track to be reproduced.

    bool looping

    Indicates if the animation should loop.

    float playbackRate

    The rate of playback.

    float? startTime

    The start time of the animation.

    float? endTime

    The end time of the animation.

    Properties

    Duration

    Gets the duration of the clip.

    Declaration
    public override float Duration { get; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.Duration

    EndAnimationTime

    Gets the ending frame.

    Declaration
    public override float EndAnimationTime { get; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.EndAnimationTime

    Framerate

    Gets the frames per second of the clip.

    Declaration
    public override float Framerate { get; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.Framerate

    Loop

    Gets or sets a value indicating whether the animation is looping.

    Declaration
    public override bool Loop { get; set; }
    Property Value
    Type Description
    bool
    Overrides
    AnimationBlendClip.Loop

    PlayTime

    Gets or sets the current time.

    Declaration
    public override float PlayTime { get; set; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.PlayTime

    PlaybackRate

    Gets or sets the playback rate.

    Declaration
    public override float PlaybackRate { get; set; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.PlaybackRate

    StartAnimationTime

    Gets the starting frame.

    Declaration
    public override float StartAnimationTime { get; }
    Property Value
    Type Description
    float
    Overrides
    AnimationBlendClip.StartAnimationTime

    Track

    Gets the animation track.

    Declaration
    public AnimationClip Track { get; }
    Property Value
    Type Description
    AnimationClip

    Methods

    InitializeClip()

    Initializes this clip.

    Declaration
    protected override void InitializeClip()
    Overrides
    AnimationBlendClip.InitializeClip()

    UpdateAnimationRange(float?, float?)

    Updates the animation range.

    Declaration
    public void UpdateAnimationRange(float? startTime, float? endTime)
    Parameters
    Type Name Description
    float? startTime

    The start time.

    float? endTime

    The end time.

    UpdateClip()

    Gets the animation sample from this clip.

    Declaration
    public override AnimationBlendClip UpdateClip()
    Returns
    Type Description
    AnimationBlendClip

    The animation sample.

    Overrides
    AnimationBlendClip.UpdateClip()

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX