C# Class OpenBveApi.Math.Orientation3

Represents an orientation in three-dimensional space.
显示文件 Open project: leezer3/OpenBVE Class Usage Examples

Public Properties

Property Type Description
Default Orientation3
Null Orientation3
X Vector3
Y Vector3
Z Vector3

Public Methods

Method Description
Orientation3 ( Vector3 x, Vector3 y, Vector3 z )

Creates a new orientation in three-dimensional space.

Method Details

Orientation3() public method

Creates a new orientation in three-dimensional space.
public Orientation3 ( Vector3 x, Vector3 y, Vector3 z )
x Vector3 The vector pointing right.
y Vector3 The vector pointing up.
z Vector3 The vector pointing forward.

Property Details

Default public_oe static_oe property

Represents the default orientation with X = {1, 0, 0}, Y = {0, 1, 0} and Z = {0, 0, 1}.
public static Orientation3,OpenBveApi.Math Default
return Orientation3

Null public_oe static_oe property

Represents a null orientation.
public static Orientation3,OpenBveApi.Math Null
return Orientation3

X public_oe property

The vector pointing right.
public Vector3 X
return Vector3

Y public_oe property

The vector pointing up.
public Vector3 Y
return Vector3

Z public_oe property

The vector pointing forward.
public Vector3 Z
return Vector3