IndexTriangle
Description:
A triangle primitive consisting of three indices.
A triangle primitive consisting of three indices.
Remarks:
Indices of a triangle's vertices can be listed in either the clockwise or counterclockwise winding order, according to the triangle's orientation in space. A DirectContext3D triangle faces the viewer if its vertices are in counterclockwise order from the viewer's point of view.
Indices of a triangle's vertices can be listed in either the clockwise or counterclockwise winding order, according to the triangle's orientation in space. A DirectContext3D triangle faces the viewer if its vertices are in counterclockwise order from the viewer's point of view.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.DirectContext3D.IndexPrimitive
Autodesk.Revit.DB.DirectContext3D.IndexTriangle
System.Object
Autodesk.Revit.DB.DirectContext3D.IndexPrimitive
Autodesk.Revit.DB.DirectContext3D.IndexTriangle
public class IndexTriangle : IndexPrimitive
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IndexTriangle(Int32, Int32, Int32) | None | Constructs the triangle primitive. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| GetSizeInShortInts() | int | Gets the amount of storage that the primitive takes up in a buffer, measured in short integers. | |
| Dispose() | None | Releases all resources used by the | IndexPrimitive |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Index0 | int | The index of the triangle's first vertex. | |
| Index1 | int | The index of the triangle's second vertex. | |
| Index2 | int | The index of the triangle's third vertex. | |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | IndexPrimitive |