shout3d.core
Class Viewpoint
java.lang.Object
|
+--shout3d.core.Node
|
+--shout3d.core.Bindable
|
+--shout3d.core.Viewpoint
- public class Viewpoint
- extends Bindable
- implements FieldObserver
A Viewpoint
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
defaultOrientation
public final float[] defaultOrientation
defaultPosition
public final float[] defaultPosition
description
public final StringField description
fieldOfView
public final FloatField fieldOfView
orientation
public final FloatArrayField orientation
position
public final FloatArrayField position
Viewpoint
public Viewpoint()
- Constructs a default Viewpoint
Viewpoint
public Viewpoint(Shout3DViewer viewer)
- Constructs that takes a viewer as an argument
onFieldChange
public void onFieldChange(Field theField,
java.lang.Object userData)
- Subclasses must call this from within their own onFieldChange() methods.
- Specified by:
- onFieldChange in interface FieldObserver
- Overrides:
- onFieldChange in class Bindable
getParentToCamera
public float[] getParentToCamera()
getCameraToParent
public float[] getCameraToParent()