|
||||||||||
| 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.TranslatableGroup
public class TranslatableGroup
This class is useful to automatically translate 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, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
TranslatableGroup()
Creates a new TranslatableGroup with default TransformationDirectives in use. |
|
TranslatableGroup(TransformationDirectives transDirecs)
Creates a new TranslatableGroup with the given TransformationDirectives in use. |
|
| Method Summary | |
|---|---|
protected DistanceInterpolater |
getDistanceInterpolater(TransformationDirectives.Axes axis)
|
protected float |
getTranslationValue(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, setLive, 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 TranslatableGroup(TransformationDirectives transDirecs)
transDirecs - the new TransformationDirectivespublic TranslatableGroup()
| Method Detail |
|---|
protected DistanceInterpolater getDistanceInterpolater(TransformationDirectives.Axes axis)
axis - the axis to get the AngleInterpolater for
protected float getTranslationValue(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 | |||||||||