Package org.vrspace.server.obj
Class User
java.lang.Object
org.vrspace.server.obj.Entity
org.vrspace.server.obj.VRObject
org.vrspace.server.obj.Client
org.vrspace.server.obj.User
- Direct Known Subclasses:
Bot
,EventRecorder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
Create client's scene, called by WorldManager during login process.boolean
Left arm position, used in VR.Left arm rotation, used in VR.Right arm position, used in VR.Right arm rotation, used in VR.int
hashCode()
boolean
Does this client have humanoid avatar, default trueboolean
isVideo()
Does this client have video avatar, default falsevoid
setHumanoid
(boolean humanoid) Does this client have humanoid avatar, default truevoid
setLeftArmPos
(Point leftArmPos) Left arm position, used in VR.void
setLeftArmRot
(Quaternion leftArmRot) Left arm rotation, used in VR.void
setRightArmPos
(Point rightArmPos) Right arm position, used in VR.void
setRightArmRot
(Quaternion rightArmRot) Right arm rotation, used in VR.void
setVideo
(boolean video) Does this client have video avatar, default falsetoString()
Methods inherited from class org.vrspace.server.obj.Client
clearToken, getIdentity, getMapper, getName, getPrivateMapper, getScene, getSceneProperties, getSession, getToken, getTokens, getUserHeight, getWriteBack, isGuest, processEvent, sendMessage, setGuest, setIdentity, setMapper, setName, setPrivateMapper, setScene, setSceneProperties, setSession, setToken, setTokens, setUserHeight, setWriteBack
Methods inherited from class org.vrspace.server.obj.VRObject
active, addChildren, addListener, getActive, getAnimation, getChildren, getListeners, getMesh, getPermanent, getPosition, getProperties, getRotation, getScale, getScript, getTemporary, getWorld, getWorldId, isActive, isPermanent, isTemporary, notifyListeners, passive, removeListener, setActive, setAnimation, setChildren, setListeners, setMesh, setPermanent, setPosition, setProperties, setRotation, setScale, setScript, setTemporary, setWorld, setWorldId
Methods inherited from class org.vrspace.server.obj.Entity
dispose, getId, getObjectId, setId
-
Constructor Details
-
User
-
User
public User()
-
-
Method Details
-
createScene
Description copied from class:Client
Create client's scene, called by WorldManager during login process. Default client doesn't have a scene.- Overrides:
createScene
in classClient
-
isHumanoid
public boolean isHumanoid()Does this client have humanoid avatar, default true -
isVideo
public boolean isVideo()Does this client have video avatar, default false -
getLeftArmPos
Left arm position, used in VR. Transient biometric data. -
getRightArmPos
Right arm position, used in VR. Transient biometric data. -
getLeftArmRot
Left arm rotation, used in VR. Transient biometric data. -
getRightArmRot
Right arm rotation, used in VR. Transient biometric data. -
setHumanoid
public void setHumanoid(boolean humanoid) Does this client have humanoid avatar, default true -
setVideo
public void setVideo(boolean video) Does this client have video avatar, default false -
setLeftArmPos
Left arm position, used in VR. Transient biometric data. -
setRightArmPos
Right arm position, used in VR. Transient biometric data. -
setLeftArmRot
Left arm rotation, used in VR. Transient biometric data. -
setRightArmRot
Right arm rotation, used in VR. Transient biometric data. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-