KeyframeSequence
Contents
[
Hide
]KeyframeSequence class
The sequence of key-frames, it describes the transformation of a sampled value over time.
Methods
constructor
Name | Description |
---|---|
constructor(name) | Initializes a new instance of the KeyframeSequence class. |
Parameters:
Name | Type | Description |
---|---|---|
name | String | Name |
Result:
constructor_overload
Name | Description |
---|---|
constructor_overload() | Initializes a new instance of the KeyframeSequence class. |
Result:
getBindPoint
Name | Description |
---|---|
getBindPoint() | Gets the property bind point which owns this curve |
Result:
getKeyFrames
Name | Description |
---|---|
getKeyFrames() | Gets the key frames of this curve. The keys. |
Result:
getPostBehavior
Name | Description |
---|---|
getPostBehavior() | Gets the post behavior indicates what the sampled value should be after the last key frame. |
Result:
getPreBehavior
Name | Description |
---|---|
getPreBehavior() | Gets the pre behavior indicates what the sampled value should be before the first key. |
Result:
getName
Name | Description |
---|---|
getName() | Gets or sets the name. The name. |
Result:
setName
Name | Description |
---|---|
setName(value) | Gets or sets the name. The name. |
Result:
getProperties
Name | Description |
---|---|
getProperties() | Gets the collection of all properties. |
Result:
add
Name | Description |
---|---|
add(time, value) | Create a new key frame with specified value |
Parameters:
Name | Type | Description |
---|---|---|
time | Number | Time position(measured in seconds) |
value | Number | The value at this time position |
Result:
add
Name | Description |
---|---|
add(time, value, interpolation) | Create a new key frame with specified value |
Parameters:
Name | Type | Description |
---|---|---|
time | Number | Time position(measured in seconds) |
value | Number | The value at this time position |
interpolation | Interpolation | Interpolation |
Result:
reset
Name | Description |
---|---|
reset() | Removes all key frames and reset the post/pre behaviors. |
Result:
removeProperty
Name | Description |
---|---|
removeProperty(property) | Removes a dynamic property. |
Parameters:
Name | Type | Description |
---|---|---|
property | Property | Which property to remove |
Result: boolean
removeProperty
Name | Description |
---|---|
removeProperty(property) | Remove the specified property identified by name |
Parameters:
Name | Type | Description |
---|---|---|
propert | String | null |
Result: boolean
getProperty
Name | Description |
---|---|
getProperty(property) | Get the value of specified property |
Parameters:
Name | Type | Description |
---|---|---|
property | String | Property name |
Result: Object
setProperty
Name | Description |
---|---|
setProperty(property, value) | Sets the value of specified property |
Parameters:
Name | Type | Description |
---|---|---|
property | String | Property name |
value | Object | The value of the property |
Result: Object
findProperty
Name | Description |
---|---|
findProperty(propertyName) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |
Parameters:
Name | Type | Description |
---|---|---|
propertyName | String | Property name. |
Result: Property
iterator
Name | Description |
---|---|
iterator() | Reserved for internal use. |
Result: Property