A record of a single Ray-Object intersection.
Declaration Syntax
C# |
public struct IntersectionRecord
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
IntersectionRecord(Vector3, Single) |
Creates a new intersection record without a normal.
|
|
IntersectionRecord(Vector3, Vector3, Single) |
Creates a new intersection record.
|
|
IntersectionRecord(Vector3, Vector3, Single, Triangle) |
Creates a new intersection record.
|
|
Distance |
Gets the distance of the intersection from the Ray's
origin.
|
|
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.) |
|
Normal |
Gets the normal vector of the intersection. Optional.
|
|
Point |
Gets the point of intersection.
|
|
ToString()()()() |
Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
|
Triangle |
Gets the triangle that the point is located on, if any. Optional.
|
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)