PlayingAnimation Class
Namespace: Stride.AnimationsAssembly: Stride.Engine.dll
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 | ||
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 |