WorldEntityTarget

class WorldEntityTarget(val index: Int, val cameraLockedPlayerIndex: Int) : CamTargetV2.CamTargetType

Camera target type for world entities. This will focus the camera on a specific world entity. If the world entity by the specified index cannot be found, the camera will be set back on local player. If a player index is provided, the client will try to look up that player in the root player's current world entity and lock the camera onto them. Additionally, depth buffering (z-buffer) will be enabled when this type of camera target is used.

Constructors

Link copied to clipboard
constructor(index: Int, cameraLockedPlayerIndex: Int)

Properties

Link copied to clipboard

the index of the player on the local player's world entity whom to lock the camera onto.

Link copied to clipboard
val index: Int

the index of the world entity who to set the camera on.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String