Documentation

Unity Engine

Unity Engine

Validate()

Get a validated version of the geometry, if possible.
Read time 1 minuteLast updated 2 months ago

Definition

public readonly CapsuleGeometry Validate()

Returns

Type

Description

CapsuleGeometryA validated copy of the geometry with an updated length and radius if required. See CapsuleGeometry.isValid.