C# Class Axiom.Components.Terrain.RayResult

Result from a terrain ray intersection with the terrain group.
Mostrar archivo Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
Hit bool
Position Vector3
Terrain Axiom.Components.Terrain.Terrain

Public Methods

Method Description
RayResult ( bool hit, Axiom.Components.Terrain.Terrain terrain, Vector3 pos ) : System

Constructor.

Method Details

RayResult() public method

Constructor.
public RayResult ( bool hit, Axiom.Components.Terrain.Terrain terrain, Vector3 pos ) : System
hit bool Whether an intersection occurred
terrain Axiom.Components.Terrain.Terrain Which terrain instance was hit, if any
pos Vector3 Position at which the intersection occurred
return System

Property Details

Hit public_oe property

Whether an intersection occurred
public bool Hit
return bool

Position public_oe property

Position at which the intersection occurred
public Vector3 Position
return Vector3

Terrain public_oe property

Which terrain instance was hit, if any
public Terrain,Axiom.Components.Terrain Terrain
return Axiom.Components.Terrain.Terrain