Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    PlayingAnimation Class

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll
    System.Object → PlayingAnimation
    Derived from PlayingAnimation:

    public class PlayingAnimation
    Name Description
    Properties
    BlendOperation

    Gets or sets the blend operation.

    Clip

    Gets or sets the animation clip to run

    CrossfadeRemainingTime

    If the CrossfadeRemainingTime is positive the blend weight will shift towards the target weight, reaching it at CrossfadeRemainingTime == 0 At that point if the blend weight reaches 0, the animation will be deleted from the list

    CurrentTime

    Gets or sets the current time.

    Enabled

    Gets or sets a value indicating whether animation is playing.

    Name

    Gets or sets the name of this playing animation (optional).

    RepeatMode

    Gets or sets the repeat mode.

    TimeFactor

    Gets or sets the playback speed factor.

    Weight

    Gets or sets the animation weight.

    WeightTarget
    | Improve this Doc View Source

    Properties


    BlendOperation

    Gets or sets the blend operation.

    public AnimationBlendOperation BlendOperation { get; set; }
    Property Value
    Type Description
    AnimationBlendOperation

    Clip

    Gets or sets the animation clip to run

    public AnimationClip Clip { get; }
    Property Value
    Type Description
    AnimationClip

    CrossfadeRemainingTime

    If the CrossfadeRemainingTime is positive the blend weight will shift towards the target weight, reaching it at CrossfadeRemainingTime == 0 At that point if the blend weight reaches 0, the animation will be deleted from the list

    public TimeSpan CrossfadeRemainingTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    CurrentTime

    Gets or sets the current time.

    public TimeSpan CurrentTime { get; set; }
    Property Value
    Type Description
    System.TimeSpan

    Enabled

    Gets or sets a value indicating whether animation is playing.

    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    Name

    Gets or sets the name of this playing animation (optional).

    public string Name { get; }
    Property Value
    Type Description
    System.String

    RepeatMode

    Gets or sets the repeat mode.

    public AnimationRepeatMode RepeatMode { get; set; }
    Property Value
    Type Description
    AnimationRepeatMode

    TimeFactor

    Gets or sets the playback speed factor.

    public float TimeFactor { get; set; }
    Property Value
    Type Description
    System.Single

    Weight

    Gets or sets the animation weight.

    public float Weight { get; set; }
    Property Value
    Type Description
    System.Single

    WeightTarget

    public float WeightTarget { get; set; }
    Property Value
    Type Description
    System.Single

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation