Skip to content

Player

Class representing a connecting or connected player.

Methods

EntityVisual AddCursorVisual()
void ClearCursor()
void SetControlledEntity()
void SetCameraMode()
void SetCameraTarget()
void SetCameraPosition()

Method Descriptions

EntityVisual AddCursorVisual()

Attaches a visual to the player's cursor.


void ClearCursor()

Removes all visuals from the player's cursor.


void SetControlledEntity()

Sets the entity that the player controls.


void SetCameraMode()

Sets the camera mode for the player.


void SetCameraTarget()

Sets the target that the camera should follow when in Following mode.


void SetCameraPosition()

Sets the camera position (when not in Following mode).