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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanintCreate client's scene, called by WorldManager during login process.booleanLeft arm position, used in VR.Left arm rotation, used in VR.Oauth2 provider ID, transient private property visible only to this user.Right arm position, used in VR.Right arm rotation, used in VR.inthashCode()booleanDoes this client have humanoid avatar, default truebooleanisVideo()Does this client have video avatar, default falsevoidsetHumanoid(boolean humanoid) Does this client have humanoid avatar, default truevoidsetLeftArmPos(Point leftArmPos) Left arm position, used in VR.voidsetLeftArmRot(Quaternion leftArmRot) Left arm rotation, used in VR.voidsetOauth2provider(String oauth2provider) Oauth2 provider ID, transient private property visible only to this user.voidsetRightArmPos(Point rightArmPos) Right arm position, used in VR.voidsetRightArmRot(Quaternion rightArmRot) Right arm rotation, used in VR.voidsetVideo(boolean video) Does this client have video avatar, default falsetoString()Methods inherited from class org.vrspace.server.obj.Client
clearToken, getIdentity, getMapper, getName, getPicture, getPrivateMapper, getScene, getSceneProperties, getSession, getToken, getTokens, getUserHeight, getWriteBack, isGuest, processEvent, sendMessage, setGuest, setIdentity, setMapper, setName, setPicture, setPrivateMapper, setScene, setSceneProperties, setSession, setToken, setTokens, setUserHeight, setWriteBackMethods 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, isDeleted, isPermanent, isTemporary, notifyListeners, passive, removeListener, setActive, setAnimation, setChildren, setDeleted, setListeners, setMesh, setPermanent, setPosition, setProperties, setRotation, setScale, setScript, setTemporary, setWorld, setWorldIdMethods 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:ClientCreate client's scene, called by WorldManager during login process. Default client doesn't have a scene.- Overrides:
createScenein 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. -
getOauth2provider
Oauth2 provider ID, transient private property visible only to this user. -
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. -
setOauth2provider
Oauth2 provider ID, transient private property visible only to this user. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-