API
Babylon Lite API
|
createCapsule
…
|
Babylon Lite API
|
createCapsule
createCapsule
Function createCapsule
createCapsule
(
engine
:
EngineContext
,
options
?:
CapsuleOptions
)
:
Mesh
Create a capsule (cylinder capped by two hemispheres) mesh. Caller must assign material.
Parameters
engine
:
EngineContext
Optional
options
:
CapsuleOptions
Returns
Mesh
Create a capsule (cylinder capped by two hemispheres) mesh. Caller must assign material.