C# Class Sharpcraft.Library.LookDirection

Specifies what direction a player/mob is looking in.
Show file Open project: SijmenSchoon/Sharpcraft

Public Properties

Property Type Description
Pitch float
Yaw float

Public Methods

Method Description
LookDirection ( float yaw = 0.0f, float pitch = 0.0f )

Initialize a new LookDirection object.

Method Details

LookDirection() public method

Initialize a new LookDirection object.
public LookDirection ( float yaw = 0.0f, float pitch = 0.0f )
yaw float Yaw.
pitch float Pitch.

Property Details

Pitch public property

Pitch.
public float Pitch
return float

Yaw public property

Yaw.
public float Yaw
return float