MotionPresets
QuickLinks
Properties
Property | Type | Access | Description |
---|---|---|---|
length | number | readonly | The number of objects in the collection. |
Methods
Instances
MotionPreset [] (index:
number)
Returns the MotionPreset with the specified index.
Parameter | Type | Description |
---|---|---|
index | number | The index. |
MotionPreset add ([withProperties:
Object])
Creates a new MotionPreset.
Parameter | Type | Description |
---|---|---|
withProperties | Object | Initial values for properties of the new MotionPreset (Optional) |
MotionPreset anyItem ()
Returns any MotionPreset in the collection.
number count ()
Displays the number of elements in the MotionPreset.
Array
of MotionPreset everyItem ()
Returns every MotionPreset in the collection.
MotionPreset firstItem ()
Returns the first MotionPreset in the collection.
MotionPreset item (index:
varies)
Returns the MotionPreset with the specified index or name.
Parameter | Type | Description |
---|---|---|
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
MotionPreset itemByID (id:
number)
Returns the MotionPreset with the specified ID.
Parameter | Type | Description |
---|---|---|
id | number | The ID. |
MotionPreset itemByName (name:
string)
Returns the MotionPreset with the specified name.
Parameter | Type | Description |
---|---|---|
name | string | The name. |
Array
of MotionPreset itemByRange (from:
varies, to:
varies)
Returns the MotionPresets within the specified range.
Parameter | Type | Description |
---|---|---|
from | Long Integer MotionPreset String | The MotionPreset, index, or name at the beginning of the range. Can accept: MotionPreset, Long Integer or String. |
to | Long Integer MotionPreset String | The MotionPreset, index, or name at the end of the range. Can accept: MotionPreset, Long Integer or String. |
MotionPreset lastItem ()
Returns the last MotionPreset in the collection.
MotionPreset middleItem ()
Returns the middle MotionPreset in the collection.
MotionPreset nextItem (obj:
MotionPreset)
Returns the MotionPreset whose index follows the specified MotionPreset in the collection.
Parameter | Type | Description |
---|---|---|
obj | MotionPreset | The MotionPreset whose index comes before the desired MotionPreset. |
MotionPreset previousItem (obj:
MotionPreset)
Returns the MotionPreset with the index previous to the specified index.
Parameter | Type | Description |
---|---|---|
obj | MotionPreset | The index of the MotionPreset that follows the desired MotionPreset. |
string toSource ()
Generates a string which, if executed, will return the MotionPreset.
Element of
Application.motionPresets
Document.motionPresets
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |