|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.GroupNode
org.xith3d.scenegraph.Group
org.xith3d.scenegraph.TransformGroup
org.xith3d.schedops.movement.AnimatableGroup
org.xith3d.schedops.movement.RotatableGroup
public class RotatableGroup
This class is useful to automatically rotate a branch in your scenegraph.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.schedops.movement.AnimatableGroup |
|---|
groupAnimator, RND |
| Fields inherited from class org.xith3d.scenegraph.GroupNode |
|---|
children, hostGroup, numChildren, totalNumChildren, totalNumShapes |
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
RotatableGroup()
Creates a new RotatableGroup with default TransformationDirectives in use. |
|
RotatableGroup(TransformationDirectives rotDirecs)
Creates a new RotatableGroup with the given TransformationDirectives in use. |
|
| Method Summary | |
|---|---|
protected AngleInterpolater |
getAngleInterpolater(TransformationDirectives.Axes axis)
|
protected float |
getRotationValue(TransformationDirectives.Axes axis,
long gameMicros)
|
| Methods inherited from class org.xith3d.schedops.movement.AnimatableGroup |
|---|
animate, getGroupAnimator, getTransformationDirectives, isAlive, isAnimating, isPersistent, setAlive, setScale, setTransformationDirectives, setTranslation, setTranslation, startAnimation, stopAnimation, update |
| Methods inherited from class org.xith3d.scenegraph.TransformGroup |
|---|
getLocalTransform, getLocalTransform, getPosition, getPosition, getTransform, getTransform, getWorldTransform, newInstance, onTransformChanged, setLocalTransform, setPosition, setPosition, setTransform, traverse, updateTransform |
| Methods inherited from class org.xith3d.scenegraph.Group |
|---|
moveTo |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.xith3d.scenegraph.Transformable |
|---|
getName, setName |
| Constructor Detail |
|---|
public RotatableGroup(TransformationDirectives rotDirecs)
rotDirecs - the new TransformationDirectivespublic RotatableGroup()
| Method Detail |
|---|
protected AngleInterpolater getAngleInterpolater(TransformationDirectives.Axes axis)
axis - the axis to get the AngleInterpolater for
protected float getRotationValue(TransformationDirectives.Axes axis,
long gameMicros)
axis - the axis to get the AngleInterpolater forgameMicros - the time to get the value at
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||