|
BenQ Mobile |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.m3g.Object3D
javax.microedition.m3g.AnimationController
Controls the position, speed and weight of an animation sequence.
Constructor Summary | |
AnimationController()
Creates a new AnimationController object. |
Method Summary | |
int |
getActiveIntervalEnd()
Retrieves the ending time of the current active interval of this animation controller, in world time units. |
int |
getActiveIntervalStart()
Retrieves the starting time of the current active interval of this animation controller, in world time units. |
float |
getPosition(int worldTime)
Retrieves the sequence time that corresponds to the given world time. |
float |
getSpeed()
Retrieves the currently set playback speed of this animation controller. |
float |
getWeight()
Retrieves the currently set blending weight for this animation controller. |
void |
setActiveInterval(int start,
int end)
Sets the world time interval during which this animation controller is active. |
void |
setPosition(float sequenceTime,
int worldTime)
Sets a new playback position, relative to world time, for this animation controller. |
void |
setSpeed(float speed,
int worldTime)
Sets a new playback speed for this animation. |
void |
setWeight(float weight)
Sets the blending weight for this animation controller. |
Methods inherited from class javax.microedition.m3g.Object3D |
addAnimationTrack, animate, duplicate, find, getAnimationTrack, getAnimationTrackCount, getReferences, getUserID, getUserObject, removeAnimationTrack, setUserID, setUserObject |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AnimationController()
Method Detail |
public void setActiveInterval(int start, int end)
public int getActiveIntervalStart()
public int getActiveIntervalEnd()
public void setSpeed(float speed, int worldTime)
public float getSpeed()
public void setPosition(float sequenceTime, int worldTime)
public float getPosition(int worldTime)
public void setWeight(float weight)
public float getWeight()
|
BenQ Mobile |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner. All Rights Reserved. BenQ Corp. is a trademark licensee of Siemens AG. |
For further information about Mobility Toolkit (MTK) visit our Developer Portal. |