文档

Unity Engine

Unity Engine

TriangleMeshGeometry

Contains the basic geometric shape of a non-convex mesh (sometimes known as a triangle mesh).
阅读时间1 分钟最后更新于 1 个月前

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.