Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    AnimationChannel Class

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

    List of float key frame data applying to a specific property in a node.

    System.Object → AnimationChannel
    Derived from AnimationChannel:

    public class AnimationChannel
    Name Description
    Constructors
    AnimationChannel()
    Properties
    KeyFrames
    TargetObject

    Gets or sets the target object name.

    TargetProperty

    Gets or sets the target property name.

    Methods
    EvaluateCubic(CompressedTimeSpan)
    Fitting(Func<CompressedTimeSpan, Single>, CompressedTimeSpan, Single)
    | Improve this Doc View Source

    Constructors


    AnimationChannel()

    public AnimationChannel()
    | Improve this Doc View Source

    Properties


    KeyFrames

    public List<KeyFrameData<float>> KeyFrames { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<KeyFrameData<System.Single>>

    TargetObject

    Gets or sets the target object name.

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

    The target object name.


    TargetProperty

    Gets or sets the target property name.

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

    The target property name.

    | Improve this Doc View Source

    Methods


    EvaluateCubic(CompressedTimeSpan)

    public float EvaluateCubic(CompressedTimeSpan time)
    Parameters
    Type Name Description
    CompressedTimeSpan time
    Returns
    Type Description
    System.Single

    Fitting(Func<CompressedTimeSpan, Single>, CompressedTimeSpan, Single)

    public void Fitting(Func<CompressedTimeSpan, float> originalCurve, CompressedTimeSpan stepSize, float maxErrorThreshold)
    Parameters
    Type Name Description
    System.Func<CompressedTimeSpan, System.Single> originalCurve
    CompressedTimeSpan stepSize
    System.Single maxErrorThreshold

    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