Create<T>(T)
Create a GeometryHolder object with a specified geometric shape.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics
- Assembly: UnityEngine.PhysicsModule
public static GeometryHolder Create<T>(T geometry) where T : struct, IGeometry
Parameters
Returns
Type | Description |
|---|---|
| GeometryHolder | Returns the GeometryHolder object with the geometric shape stored inside. |
Remarks
Additional Resources: BoxGeometry, SphereGeometry, CapsuleGeometry, ConvexMeshGeometry, TriangleMeshGeometry, TerrainGeometry