Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TriangleMeshGeometry

Contains the basic geometric shape of a non-convex mesh (sometimes known as a triangle mesh).
Read time 1 minuteLast updated 8 days ago

Definition

public struct TriangleMeshGeometry : IGeometry

Remarks

The only way to retrieve this shape is to use the Collider.GeometryHolder property to get it from a non-convex MeshCollider component.

Properties

Property

Description

GeometryTypeReturns the geometry type of this shape, which is TriangleMeshGeometry.
ScaleThe scale of this geometry.
ScaleAxisRotationThe rotation of the scale axis of this geometry.