Tesla Graphics Engine Documentation (January 2012)
PickResult Structure
TeslaTesla.BoundingPickResult
Represents the results from a ray-object intersection test. This structure simply holds the results of a test, but does not provide the test itself.
Declaration Syntax
C#
public struct PickResult
Members
All Members Constructors Methods Properties



Icon Member Description
PickResult(Ray, IPickable, BoundingIntersectionRecord)
Creates a new PickResult.

PickResult(Ray, IPickable, PrimitiveIntersectionRecord)
Creates a new PickResult.

PickResult(Ray, IPickable, BoundingIntersectionRecord, PrimitiveIntersectionRecord)
Creates a new PickResult.

BoundingIntersectionRecord
Gets the bounding intersection record, if it exists. If it does not, then the result means the ray does not intersect the pickable's bounding volume or the test was not conducted.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
PrimitiveIntersectionRecord
Gets the primitive intersection record, if it exists. If it does not, then the result may have multiple meanings: the ray does not intersect at all, or it intersects the pickable's bounding volume (which is a false-positive), or lastly, the primitive intersection was not checked.

SourceRay
Gets the ray used in the intersection testing.

Target
Gets the target object.

ToString()()()()
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)