TriangleMeshGeometry
Contains the basic geometric shape of a non-convex mesh (sometimes known as a triangle mesh).
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.LowLevelPhysics
- Assembly: UnityEngine.PhysicsModule
- Implements: IGeometry
public struct TriangleMeshGeometry : IGeometry
Remarks
The only way to retrieve this shape is to use the Geometry property to get it from a non-convex MeshCollider component.
Properties
Property | Description |
|---|---|
| GeometryType | Returns the geometry type of this shape, which is TriangleMeshGeometry. |
| Scale | The scale of this geometry. |
| ScaleAxisRotation | The rotation of the scale axis of this geometry. |