C# Class OrientedPoint, racing_game

Mostrar archivo Open project: Rarau/racing_game Class Usage Examples

Public Properties

Property Type Description
position Vector3
rotation Quaternion

Public Methods

Method Description
LocalToWorld ( Vector3 point ) : Vector3
LocalToWorldDirection ( Vector3 dir ) : Vector3
OrientedPoint ( Vector3 position, Quaternion rotation ) : System.Collections
WorldToLocal ( Vector3 point ) : Vector3

Method Details

LocalToWorld() public method

public LocalToWorld ( Vector3 point ) : Vector3
point Vector3
return Vector3

LocalToWorldDirection() public method

public LocalToWorldDirection ( Vector3 dir ) : Vector3
dir Vector3
return Vector3

OrientedPoint() public method

public OrientedPoint ( Vector3 position, Quaternion rotation ) : System.Collections
position Vector3
rotation Quaternion
return System.Collections

WorldToLocal() public method

public WorldToLocal ( Vector3 point ) : Vector3
point Vector3
return Vector3

Property Details

position public_oe property

public Vector3 position
return Vector3

rotation public_oe property

public Quaternion rotation
return Quaternion