Sets the debug render style for the children of the given Matter Composite.
Composites themselves do not render, but they can contain bodies, constraints and other composites that may do.
So the children of this composite are passed to the setBodyRenderStyle
, setCompositeRenderStyle
and
setConstraintRenderStyle
methods accordingly.
name | type | description |
---|---|---|
composite | MatterJS.CompositeType |
The Matter Composite to set the render style on. |
This Matter World instance for method chaining.