Class User

Direct Known Subclasses:
Bot, EventRecorder

@Node public class User extends Client
  • Constructor Details

    • User

      public User(String name)
    • User

      public User()
  • Method Details

    • createScene

      public void createScene(WorldManager wm)
      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 class Client
    • 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

      public Point getLeftArmPos()
      Left arm position, used in VR. Transient biometric data.
    • getRightArmPos

      public Point getRightArmPos()
      Right arm position, used in VR. Transient biometric data.
    • getLeftArmRot

      public Quaternion getLeftArmRot()
      Left arm rotation, used in VR. Transient biometric data.
    • getRightArmRot

      public Quaternion 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

      public void setLeftArmPos(Point leftArmPos)
      Left arm position, used in VR. Transient biometric data.
    • setRightArmPos

      public void setRightArmPos(Point rightArmPos)
      Right arm position, used in VR. Transient biometric data.
    • setLeftArmRot

      public void setLeftArmRot(Quaternion leftArmRot)
      Left arm rotation, used in VR. Transient biometric data.
    • setRightArmRot

      public void setRightArmRot(Quaternion rightArmRot)
      Right arm rotation, used in VR. Transient biometric data.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Client
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Client
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Client
    • toString

      public String toString()
      Overrides:
      toString in class Client