C# Class Axiom.Core.RaySceneQueryResultEntry

This struct allows a single comparison of result data no matter what the type.
Inheritance: IComparable
Exibir arquivo Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
Distance float
SceneObject Axiom.Core.MovableObject
worldFragment SceneQuery.WorldFragment

Public Methods

Method Description
CompareTo ( object obj ) : int

Implemented to allow sorting of results based on distance.

Method Details

CompareTo() public method

Implemented to allow sorting of results based on distance.
public CompareTo ( object obj ) : int
obj object
return int

Property Details

Distance public_oe property

Distance along the ray.
public float Distance
return float

SceneObject public_oe property

The object, or null if this is not a scene object result.
public MovableObject,Axiom.Core SceneObject
return Axiom.Core.MovableObject

worldFragment public_oe property

The world fragment, or null if this is not a fragment result.
public SceneQuery.WorldFragment,Axiom.Core worldFragment
return SceneQuery.WorldFragment