Version: 2023.1
言語: 日本語
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. See Also: BoxGeometry, SphereGeometry, CapsuleGeometry, ConvexMeshGeometry, TriangleMeshGeometry, TerrainGeometry.