public class PlayerSettings
extends java.lang.Object
<player_settings> element, that is,
camera-location/direction/fov data and/or ambient motions flags.| Constructor and Description |
|---|
PlayerSettings(org.w3c.dom.Element psel)
Constructs a new player settings record as specified by the given
SiGML element.
|
| Modifier and Type | Method and Description |
|---|---|
AmbientMotionFlags |
getAmbients()
Returns this record's ambient motions data if any, otherwise
null. |
AvatarSettings |
getAvatarSettings()
Returns this record's avatar settings data if any, otherwise
null. |
CameraSettings |
getCameraSettings()
Returns this record's camera settings data if any, otherwise
null. |
TimeSettings |
getTimeSettings()
Returns this record's time settings data if any, otherwise
null. |
void |
updateAvatarSettings(AvatarSettings newavr)
Updates the record's AvatarSettings.
|
void |
updateCameraSettings(CameraSettings newcam)
Updates the record's CAmeraSettings.
|
public PlayerSettings(org.w3c.dom.Element psel)
public AvatarSettings getAvatarSettings()
null.public TimeSettings getTimeSettings()
null.public CameraSettings getCameraSettings()
null.public AmbientMotionFlags getAmbients()
null.public void updateAvatarSettings(AvatarSettings newavr)
public void updateCameraSettings(CameraSettings newcam)