Function getPhysicsShapeMaterialToRef
-
getPhysicsShapeMaterialToRef(
world: PhysicsWorld,
shape: PhysicsShape,
out: PhysicsShapeMaterial,
): PhysicsShapeMaterialParameters
- world: PhysicsWorld
- shape: PhysicsShape
- out: PhysicsShapeMaterial
Returns PhysicsShapeMaterial
Read material into out and return it. Requires a live shape reached through a live body. Shape material is region-independent and shared by every body/instance using the shape.