Interface ILayerPropertyKeyframe
Represents a keyframe on a ILayerProperty containing a value and a timestamp
Namespace: Artemis.Core
Assembly: Artemis.Core.dll
Syntax
public interface ILayerPropertyKeyframe
Properties
EasingFunction
Gets or sets the easing function applied on the value of the keyframe
Declaration
Easings.Functions EasingFunction { get; set; }
Property Value
Type | Description |
---|---|
Easings.Functions |
Position
Gets or sets the position of this keyframe in the timeline
Declaration
TimeSpan Position { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
UntypedLayerProperty
Gets an untyped reference to the layer property of this keyframe
Declaration
ILayerProperty UntypedLayerProperty { get; }
Property Value
Type | Description |
---|---|
ILayerProperty |
Methods
CreateCopy()
Creates a copy of this keyframe.
Note: The copied keyframe is not added to the layer property.
Declaration
ILayerPropertyKeyframe CreateCopy()
Returns
Type | Description |
---|---|
ILayerPropertyKeyframe | The resulting copy |
GetKeyframeEntity()
Gets the entity this keyframe uses for persistent storage
Declaration
KeyframeEntity GetKeyframeEntity()
Returns
Type | Description |
---|---|
KeyframeEntity |
Remove()
Removes the keyframe from the layer property
Declaration
void Remove()