Entity.direction

Gets the player's looking direction calculated from yaw and pitch. The return value is in range 0..1 and it should be multiplied to obtain the desired value.

class Entity
final @property @safe
direction
()

Meta