Using specialized behaviors
Billboard class methods
- Methods on Billboard set the alignment mode,
rotation axis or point, and the target
- The default alignment mode is about the Y axis
Method |
Billboard( ) |
void setAlignmentMode( int mode ) |
void setAlignmentAxis( Vector3f axis ) |
void setRotationPoint( Point3f point ) |
void setTarget( TransformGroup group ) |
- Alignment modes include
ROTATE_ABOUT_AXIS (default) and
ROTATE_ABOUT_POINT