Tesla Graphics Engine Documentation (January 2012)
PrimitiveIntersectionRecord Structure
TeslaTesla.BoundingPrimitiveIntersectionRecord
Intersection record for Ray-Primitive tests. May contain any number of intersections. The array passed to the record will be sorted based on each intersection's distance to the ray.
Declaration Syntax
C#
public struct PrimitiveIntersectionRecord
Members
All Members Constructors Methods Properties



Icon Member Description
PrimitiveIntersectionRecord(array<IntersectionRecord>[]()[][])
Creates a new PrimitiveIntersectionRecord. This will sort the intersections by their distances to the ray's origin.

ClosestIntersection
Gets the closest intersection, if it exists.

Equals(Object)
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
FarthestIntersection
Gets the farthest intersection, if it exists.

GetHashCode()()()()
Returns the hash code for this instance.
(Inherited from ValueType.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
IntersectionCount
Gets the number of intersections contained in this record.

Item[([( Int32])])
Gets the intersection by its index.

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)