getPosition

abstract fun getPosition(): Pos3d

Retrieves the position of the entity.

Return

A Pos3d instance representing the entity's position.


abstract fun getPosition(position: Pos3d): Pos3d

Retrieves the entity's position and copies it to the provided position instance.

Return

The provided Pos3d instance with updated position values.

Parameters

position

The Pos3d instance to copy the position values to.