C# Class OpenTKEngine.Ray

Mostra file Open project: jikoriko/OpentkEngine Class Usage Examples

Public Properties

Property Type Description
Direction Vector3
End Vector3
Start Vector3

Public Methods

Method Description
GetCollisionPosition ( float t ) : Vector3
Length ( ) : double
PointOnRay ( float x, float y ) : bool
Ray ( Vector3 start, Vector3 direction ) : System

Method Details

GetCollisionPosition() public method

public GetCollisionPosition ( float t ) : Vector3
t float
return Vector3

Length() public method

public Length ( ) : double
return double

PointOnRay() public method

public PointOnRay ( float x, float y ) : bool
x float
y float
return bool

Ray() public method

public Ray ( Vector3 start, Vector3 direction ) : System
start Vector3
direction Vector3
return System

Property Details

Direction public_oe property

public Vector3 Direction
return Vector3

End public_oe property

public Vector3 End
return Vector3

Start public_oe property

public Vector3 Start
return Vector3