Version: 2023.2
언어: 한국어
public T GetGeometry ();

반환

T Type of geometrical shape.

설명

Returns the geometric shape of the collider of the requested type.

Throws an InvalidOperationException if you request a shape that is not present in the collider. Additional resources: BoxGeometry, SphereGeometry, CapsuleGeometry, ConvexMeshGeometry, TriangleMeshGeometry, TerrainGeometry.