Optional
boundsSet the bounds of the layer, by default bounds are not enabled
Optional
boundsSet to true to enable bounds, default is false
Optional
objectsArray of GameObjects in the layer
Optional
parallaxSet the parallax of the layer, by default parallax is [1, 1]
Optional
physicsSet to true to enable physics, default is false
Optional
physicsOptions passed to matter.js engine
Generated using TypeDoc
For configuring the properties of a Layer in a scene
LayerOptions