Skip to main content

Struct TreeSpringAnimationTrack

Namespace: VelloSharp.TreeDataGrid
Assembly: VelloSharp.TreeDataGrid.dll

Defines a spring-based animation track.

public readonly record struct TreeSpringAnimationTrack : IEquatable<TreeSpringAnimationTrack>

Implements​

IEquatable<TreeSpringAnimationTrack>

Inherited Members​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors​

TreeSpringAnimationTrack(float, float, float, float, float)​

public TreeSpringAnimationTrack(float stiffness, float damping, float mass, float restVelocity, float restOffset)

Parameters​

stiffness float

damping float

mass float

restVelocity float

restOffset float

Properties​

Damping​

public float Damping { get; init; }

Property Value​

float

Default​

public static TreeSpringAnimationTrack Default { get; }

Property Value​

TreeSpringAnimationTrack

IsEnabled​

public bool IsEnabled { get; }

Property Value​

bool

Mass​

public float Mass { get; init; }

Property Value​

float

RestOffset​

public float RestOffset { get; init; }

Property Value​

float

RestVelocity​

public float RestVelocity { get; init; }

Property Value​

float

Stiffness​

public float Stiffness { get; init; }

Property Value​

float