Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
add( | [withProperties]) |
→ MotionPreset |
anyItem( | ) |
→ MotionPreset |
count( | ) |
→ number |
everyItem( | ) |
→ MotionPreset |
firstItem( | ) |
→ MotionPreset |
item( | index) |
→ MotionPreset |
itemByID( | id) |
→ MotionPreset |
itemByName( | name) |
→ MotionPreset |
itemByRange( | from, to) |
→ MotionPreset |
lastItem( | ) |
→ MotionPreset |
middleItem( | ) |
→ MotionPreset |
nextItem( | obj) |
→ MotionPreset |
previousItem( | obj) |
→ MotionPreset |
toSource( | ) |
→ string |
-
add( [withProperties])→ MotionPreset -
Creates a new MotionPreset.
withProperties
Object Initial values for properties of the new MotionPreset (Optional) -
anyItem( )→ MotionPreset -
Returns any MotionPreset in the collection.
-
count( )→ number -
Displays the number of elements in the MotionPreset.
-
everyItem( )→ MotionPreset -
Returns every MotionPreset in the collection.
-
firstItem( )→ MotionPreset -
Returns the first MotionPreset in the collection.
-
item( index)→ MotionPreset -
Returns the MotionPreset with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByID( id)→ MotionPreset -
Returns the MotionPreset with the specified ID.
id
number The ID. -
itemByName( name)→ MotionPreset -
Returns the MotionPreset with the specified name.
name
string The name. -
itemByRange( from, to)→ MotionPreset -
Returns the MotionPresets within the specified range.
from
The MotionPreset, index, or name at the beginning of the range. Can accept: MotionPreset, Long Integer or String. to
The MotionPreset, index, or name at the end of the range. Can accept: MotionPreset, Long Integer or String. -
lastItem( )→ MotionPreset -
Returns the last MotionPreset in the collection.
-
middleItem( )→ MotionPreset -
Returns the middle MotionPreset in the collection.
-
nextItem( obj)→ MotionPreset -
Returns the MotionPreset whose index follows the specified MotionPreset in the collection.
obj
MotionPreset The MotionPreset whose index comes before the desired MotionPreset. -
previousItem( obj)→ MotionPreset -
Returns the MotionPreset with the index previous to the specified index.
obj
MotionPreset The index of the MotionPreset that follows the desired MotionPreset. -
toSource( )→ string -
Generates a string which, if executed, will return the MotionPreset.