API reference
API reference
Select your platform
No SDKs available
No versions available

MeshSegment Struct

Represents a single mesh segment with position data, indices for mesh topology, UVs for texturing, tangents for normal mapping and colors.
This struct is essential for defining the geometric and visual properties of a mesh segment.The DestructibleGlobalMeshSpawner uses this struct to create and manage mesh segments.

Fields

The vertex positions of the mesh segment.
Use the MeshSegmentationResult struct to create and manage mesh segments.
The indices that define the mesh topology.
\ Use the MeshSegmentationResult struct to create and manage mesh segments.
The UV coordinates for texturing the mesh segment.
UVs map the 2D texture to the 3D surface of the mesh.
The tangents used for normal mapping.
Tangents are necessary for advanced lighting effects, such as bump mapping.
The colors applied to each vertex of the mesh segment.
Vertex colors can be used for a variety of effects, including vertex-based shading and color blending.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon