3rd Eye Scene C#
3rd Eye Scene C# documentation
|
Represents a mesh part or object. More...
Public Member Functions | |
uint | VertexCount (int stream=0) |
Exposes the number of vertices in the mesh. | |
uint | IndexCount (int stream=0) |
Exposes the number of indices in the mesh. | |
Vector3[] | Vertices (int stream=0) |
Supports iteration of the vertices of the mesh. | |
ushort[] | Indices2 (int stream=0) |
Supports iteration of the indices of the mesh when using two byte indices. | |
int[] | Indices4 (int stream=0) |
Supports iteration of the indices of the mesh when using four byte indices. | |
Vector3[] | Normals (int stream=0) |
Supports iteration of the normal of the mesh. | |
Vector2[] | UVs (int stream=0) |
Supports iteration of the UV coordinates of the mesh. | |
uint[] | Colours (int stream=0) |
Supports iteration of per vertex colours of the mesh. | |
Properties | |
Matrix4 | Transform [get] |
Root transform for the mesh. | |
uint | Tint [get] |
A global tint colour applied to the mesh. | |
byte | DrawType [get] |
The DrawType of the mesh. | |
int | IndexSize [get] |
Defines the byte size used by indices in this mesh. |
Represents a mesh part or object.
These are visualised via MeshSet, which may contain several
Mesh
parts.
The Resource.TypeID for Mesh is Tes.Net.RoutingID.Mesh.
uint [] Tes::Shapes::MeshResource::Colours | ( | int | stream = 0 | ) |
Supports iteration of per vertex colours of the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
uint Tes::Shapes::MeshResource::IndexCount | ( | int | stream = 0 | ) |
Exposes the number of indices in the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
ushort [] Tes::Shapes::MeshResource::Indices2 | ( | int | stream = 0 | ) |
Supports iteration of the indices of the mesh when using two byte indices.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, and Tes::Handlers::MeshResourcePlaceholder.
int [] Tes::Shapes::MeshResource::Indices4 | ( | int | stream = 0 | ) |
Supports iteration of the indices of the mesh when using four byte indices.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
Vector3 [] Tes::Shapes::MeshResource::Normals | ( | int | stream = 0 | ) |
Supports iteration of the normal of the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
Vector2 [] Tes::Shapes::MeshResource::UVs | ( | int | stream = 0 | ) |
Supports iteration of the UV coordinates of the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
uint Tes::Shapes::MeshResource::VertexCount | ( | int | stream = 0 | ) |
Exposes the number of vertices in the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
Vector3 [] Tes::Shapes::MeshResource::Vertices | ( | int | stream = 0 | ) |
Supports iteration of the vertices of the mesh.
stream | For future use. Must be zero. |
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
int Tes::Shapes::MeshResource::IndexSize [get] |
Defines the byte size used by indices in this mesh.
The size of each index value in bytes.
Must be 0, 2 or 4. When 2 the Indices2 property must be supported, and Indices4 is optional. When 4, Indices4 must be supported and Indices2 is optional. When zero, neither property is supported: the mesh does not support indices.
Implemented in Tes::Shapes::MeshBase, Tes::Shapes::PointCloud, Tes::Shapes::SimpleMesh, and Tes::Handlers::MeshResourcePlaceholder.
Matrix4 Tes::Shapes::MeshResource::Transform [get] |