KeyFrames
class KeyFrames
The parses the KeyFrame structure in a MotionScene xml
Summary
Public constructors |
|---|
KeyFrames(context: Context!, parser: XmlPullParser!) |
Public functions |
|
|---|---|
Unit |
addAllFrames(motionController: MotionController!)Do not filter the set by matches |
Unit |
addFrames(motionController: MotionController!)add the key frames to the motion controller |
Unit |
Add a key to this set of keyframes |
ArrayList<Key!>! |
getKeyFramesForView(id: Int)Get the list of keyframes given and ID |
(Mutable)Set<Int!>! |
getKeys() |
Public constructors
Public functions
addAllFrames
Added in 2.2.1
fun addAllFrames(motionController: MotionController!): Unit
Do not filter the set by matches
| Parameters | |
|---|---|
motionController: MotionController! |
addFrames
Added in 2.2.1
fun addFrames(motionController: MotionController!): Unit
add the key frames to the motion controller
| Parameters | |
|---|---|
motionController: MotionController! |
addKey
Added in 2.2.1
fun addKey(key: Key!): Unit
Add a key to this set of keyframes
| Parameters | |
|---|---|
key: Key! |