Doesn’t seem to have any effect when using it in PlayCanvas editor.
I get error:
TypeError: pc.LayerComposition is not a constructor
The typehinting does show it as a valid reference in the scripting editor!
I want to hook some onPreCull on the main world layer to run my own culling changes based off
camera.frustum, prior to PlayCanvas’s default camera frustum culling operation. But no luck. Seems like all the layer functions aren’t working.