Defines a 3 point primitive.
Declaration Syntax
C# |
[SerializableAttribute] public struct Triangle
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
Triangle(Vector3, Vector3, Vector3) |
Creates a new triangle with the three vertex locations.
|
|
Center |
Gets the center of the triangle.
|
|
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, which describes the direction
the triangle is facing. This is determined by the "winding order" of the
points.
|
|
PointA |
Gets or sets the first vertex.
|
|
PointB |
Gets or sets the second vertex.
|
|
PointC |
Gets or sets the third vertex.
|
|
Set(Vector3, Vector3, Vector3) |
Sets the three vertex locations of the triangle.
|
|
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)