文档

Unity Engine

Unity Engine

Validate()

Get a validated version of the geometry, if possible.
阅读时间1 分钟最后更新于 1 个月前

Definition

public readonly PolygonGeometry Validate()

Returns

Type

Description

PolygonGeometryA validated copy of the geometry with updated normals, centroid etc. Depending on the current geometry, the returned geometry may not be valid. See PolygonGeometry.isValid.