MotionPresets
A collection of Motion presets.
Properties
| Name | Type |
Access | Description |
|---|
|
Number |
readonly |
The number of objects in the collection. |
Methods
Returns the MotionPreset with the specified index.
Creates a new MotionPreset.
withProperties?
Object
Initial values for properties of the new MotionPreset
Returns any MotionPreset in the collection.
Displays the number of elements in the MotionPreset.
Returns every MotionPreset in the collection.
Returns the first MotionPreset in the collection.
Returns the MotionPreset with the specified index or name.
index
LongInteger | String
The index or name. Can accept: Long Integer or String.
Returns the MotionPreset with the specified ID.
Returns the MotionPreset with the specified name.
Returns the MotionPresets within the specified range.
from
LongInteger | MotionPreset | String
The MotionPreset, index, or name at the beginning of the range. Can accept: MotionPreset, Long Integer or String.
to
LongInteger | MotionPreset | String
The MotionPreset, index, or name at the end of the range. Can accept: MotionPreset, Long Integer or String.
Returns the last MotionPreset in the collection.
Returns the middle MotionPreset in the collection.
Returns the MotionPreset whose index follows the specified MotionPreset in the collection.
obj
MotionPreset
The MotionPreset whose index comes before the desired MotionPreset.
Returns the MotionPreset with the index previous to the specified index.
obj
MotionPreset
The index of the MotionPreset that follows the desired MotionPreset.
Generates a string which, if executed, will return the MotionPreset.
Object of 2
Properties elsewhere that hold a MotionPresets.