![]() |
Twilight Princess
Remastered version of the GameCube game
|
Represents a polygon in 3-dimensional space, defined by 3 vertices storing their positions. More...
Public Member Functions | |
| Triangle () | |
| Initializes a new instance of the Triangle class. | |
| Triangle (Vector3 vertexA, Vector3 vertexB, Vector3 vertexC) | |
| Initializes a new instance of the Triangle class. | |
| bool | IsRayInTriangle (Vector3 ray, Vector3 cameraEye, Matrix4x4 collisionMatrix) |
| Vector3 | GetTriangleCenter () |
| Gets the center of the current triangle and returns the point. | |
Public Attributes | |
| Vector3[] | Vertices |
| Gets the vertices which store the corner positions of the triangle. | |
Properties | |
| Vector3 | Normal [get] |
| Gets the face normal of this triangle. | |
| ushort | Attribute [get, set] |
| The attribute used by a KCLPrisim for handling material flags. | |
Represents a polygon in 3-dimensional space, defined by 3 vertices storing their positions.
| KclLibrary.Triangle.Triangle | ( | ) |
Initializes a new instance of the Triangle class.
Initializes a new instance of the Triangle class.
| Vector3 KclLibrary.Triangle.GetTriangleCenter | ( | ) |
Gets the center of the current triangle and returns the point.
| bool KclLibrary.Triangle.IsRayInTriangle | ( | Vector3 | ray, |
| Vector3 | cameraEye, | ||
| Matrix4x4 | collisionMatrix ) |
| Vector3 [] KclLibrary.Triangle.Vertices |
Gets the vertices which store the corner positions of the triangle.
|
getset |
The attribute used by a KCLPrisim for handling material flags.
|
get |
Gets the face normal of this triangle.