ドキュメント

Unity Engine

Unity Engine

Validate()

Get a validated version of the geometry, if possible.
読み終わるまでの所要時間 1 分最終更新 23日前

Definition

  • Type: Method
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public readonly CapsuleGeometry Validate()

Returns

Type

Description

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