Version: 2023.2

TriangleMeshGeometry

struct in UnityEngine.LowLevelPhysics


实现接口:IGeometry

切换到手册

描述

Contains the basic geometric shape of a non-convex mesh (sometimes known as a triangle mesh).

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

变量

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