new DuAEKeyframe(other)
D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16742
Constructs a new DuAEKeyframe
Name | Type | Description |
---|---|---|
other |
DuAEKeyframe | optional Another keyframe to create a copy. |
Properties:
Name | Type | Description |
---|---|---|
_time |
float | The keyframe time |
value |
null | Array.<folat> | float | MarkerValue | int | Shape | TextDocument | The keyframe value |
_inInterpolationType |
KeyframeInterpolationType | The incoming temporal interpolation type |
_outInterpolationType |
KeyframeInterpolationType | The outgoing temporal interpolation type |
_spatial |
boolean | true if this keyframe has a spatial value |
spatialProperties |
DuAEKeySpatialProperties | the spatial properties DuAEKeySpatialProperties of this keyframe |
inEase |
Array.<KeyframeEase> | The incoming temporal ease. The number of objects in the Array depends on the value type |
outEase |
Array.<KeyframeEase> | The outgoing temporal ease. The number of objects in the Array depends on the value type |
_continuous |
boolean | true if the keyframe has temporal continuity |
_autoBezier |
boolean | true if the keyframe has temporal auto-Bezier interpolation |
_index |
int | The index of the keyFrame. Warning: not updated when another key frame is added on the property some time before this key._time! |
Methods
-
_clone(){DuAEKeyframe}
D:/RxLab/src/RxOT/DuAEF/Duik/Duik_API/DuAEF_Duik_api.jsxinc, line 16793 -
Clones the keyframe and returns the new one.
The keyframe is not added to any property, only the JS object is cloned. UseDuAEProperty.setKey
to add it to a specific property.Returns:
Type Description DuAEKeyframe The new keyframe.