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 shout3d.core.Node |
cleanUp,
getDEFName,
getField,
getFieldByIndex,
getFieldName,
getNumFields,
getTypeName,
getViewer,
isOfType,
setDEFName,
setViewer |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
description
public final StringField description
fieldOfView
public final FloatField fieldOfView
fovMapping
public final StringField fovMapping
- This field can take any of 4 values -- "SHORTEST" (the default) "HORIZONTAL" "VERTICAL" or "DIAGONAL"
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()