API
Babylon Lite API
|
getPhysicsShapeDensity
…
|
Babylon Lite API
|
getPhysicsShapeDensity
getPhysicsShapeDensity
Function getPhysicsShapeDensity
getPhysicsShapeDensity
(
world
:
PhysicsWorld
,
shape
:
PhysicsShape
)
:
number
Read the region-independent density of a live shape.
Parameters
world
:
PhysicsWorld
shape
:
PhysicsShape
Returns
number
Read the region-independent density of a live shape.