Class enchant.gl.KeyFrameManager
- Defined in: gl.enchant.js
Constructor Attributes | Constructor Name and Description |
---|---|
Class for realizing key frame animation.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
addFrame(pose, frame)
Add frame.
|
|
getFrame(frame)
Return information for designated frame number.
|
Class Detail
enchant.gl.KeyFrameManager()
Class for realizing key frame animation.
Handles various data, not limited to enchant.gl.Pose.
Method Detail
-
addFrame(pose, frame)Add frame.
- Parameters:
- {*} pose
- Key frame.
- {Number} frame
- Frame number.
-
{*} getFrame(frame)Return information for designated frame number. When there is no data corresponding to the designated frame, interpolated data from before and after are acquired.
- Parameters:
- {Number} frame
- Frame number
- Returns:
- {*}