Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AnimationOperation Struct

    Namespace: Stride.Animations
    Assembly: Stride.Engine.dll

    A single animation operation (push or blend).

    public struct AnimationOperation
    Name Description
    Fields
    BlendFactor
    CoreBlendOperation
    Evaluator
    Time
    Type
    Methods
    NewBlend(CoreAnimationOperation, Single)

    Creates a new animation blend operation.

    NewPop(AnimationClipEvaluator, TimeSpan)

    Creates a new animation pop operation.

    NewPush(AnimationClipEvaluator)

    Creates a new animation push operation.

    NewPush(AnimationClipEvaluator, TimeSpan)

    Creates a new animation push operation.

    | Improve this Doc View Source

    Fields


    BlendFactor

    public float BlendFactor
    Field Value
    Type Description
    System.Single

    CoreBlendOperation

    public CoreAnimationOperation CoreBlendOperation
    Field Value
    Type Description
    CoreAnimationOperation

    Evaluator

    public AnimationClipEvaluator Evaluator
    Field Value
    Type Description
    AnimationClipEvaluator

    Time

    public TimeSpan Time
    Field Value
    Type Description
    System.TimeSpan

    Type

    public AnimationOperationType Type
    Field Value
    Type Description
    AnimationOperationType
    | Improve this Doc View Source

    Methods


    NewBlend(CoreAnimationOperation, Single)

    Creates a new animation blend operation.

    public static AnimationOperation NewBlend(CoreAnimationOperation operation, float blendFactor)
    Parameters
    Type Name Description
    CoreAnimationOperation operation

    The blend operation.

    System.Single blendFactor

    The blend factor.

    Returns
    Type Description
    AnimationOperation

    NewPop(AnimationClipEvaluator, TimeSpan)

    Creates a new animation pop operation.

    public static AnimationOperation NewPop(AnimationClipEvaluator evaluator, TimeSpan time)
    Parameters
    Type Name Description
    AnimationClipEvaluator evaluator

    The evaluator.

    System.TimeSpan time

    The time.

    Returns
    Type Description
    AnimationOperation

    NewPush(AnimationClipEvaluator)

    Creates a new animation push operation.

    public static AnimationOperation NewPush(AnimationClipEvaluator evaluator)
    Parameters
    Type Name Description
    AnimationClipEvaluator evaluator

    The evaluator.

    Returns
    Type Description
    AnimationOperation

    NewPush(AnimationClipEvaluator, TimeSpan)

    Creates a new animation push operation.

    public static AnimationOperation NewPush(AnimationClipEvaluator evaluator, TimeSpan time)
    Parameters
    Type Name Description
    AnimationClipEvaluator evaluator

    The evaluator.

    System.TimeSpan time

    The time.

    Returns
    Type Description
    AnimationOperation

    Inherited Members

    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()

    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