Table of Contents

Class FlexalonAnimationKeyframe

Namespace
Flexalon
Assembly
Flexalon.dll

A value in a Flexalon Animator track, and how to reach it from the previous keyframe.

[Serializable]
public class FlexalonAnimationKeyframe
Inheritance
object
FlexalonAnimationKeyframe
Derived

Fields

Curve

The timing and easing from the previous keyframe to this one. The last key's time is the duration. Unused on the first keyframe.

[Tooltip("The timing and easing from the previous keyframe to this one.")]
public AnimationCurve Curve

Field Value

AnimationCurve

Easing

The easing preset used to create Curve.

[HideInInspector]
public FlexalonAnimationEasing Easing

Field Value

FlexalonAnimationEasing

ValueType

Whether the value is fixed, random, or an expression.

[Tooltip("Use a fixed value, a random value between Min and Max, or an expression.")]
public FlexalonAnimationValueType ValueType

Field Value

FlexalonAnimationValueType

Methods

CreateComponentPropertyKeyframe(Type, object)

Creates a component property keyframe for the value type, starting at value if one is given.

public static FlexalonAnimationKeyframe CreateComponentPropertyKeyframe(Type valueType, object value = null)

Parameters

valueType Type
value object

Returns

FlexalonAnimationKeyframe

CreateTransformKeyframe(string)

Creates a keyframe for a transform property with no offset from the layout.

public static FlexalonAnimationKeyframe CreateTransformKeyframe(string property)

Parameters

property string

Returns

FlexalonAnimationKeyframe