Class FloatLayerProperty
Represents a property on a layer. Properties are saved in storage and can optionally be modified from the UI.
Note: You cannot initialize layer properties yourself. If properly placed and annotated, the Artemis core will initialize these for you.
public class FloatLayerProperty : LayerProperty<float>, ILayerProperty, IStorageModel, IDisposable, IPluginFeatureDependent
- Inheritance
-
objectCorePropertyChangedFloatLayerProperty
- Implements
- Inherited Members
Methods
OnInitialize()
Called when the layer property has been initialized
protected override void OnInitialize()
UpdateCurrentValue(float, float)
Called every update (if keyframes are both supported and enabled) to determine the new CurrentValue based on the provided progress
protected override void UpdateCurrentValue(float keyframeProgress, float keyframeProgressEased)
Parameters
keyframeProgressfloatThe linear current keyframe progress
keyframeProgressEasedfloatThe current keyframe progress, eased with the current easing function
Operators
implicit operator double(FloatLayerProperty)
Implicitly converts an FloatLayerProperty to a double
public static implicit operator double(FloatLayerProperty p)
Parameters
Returns
implicit operator float(FloatLayerProperty)
Implicitly converts an FloatLayerProperty to a float
public static implicit operator float(FloatLayerProperty p)