projectScene

abstract fun projectScene(width: Int, height: Int, renderOptions: RenderOptions = RenderOptions.Default, lightDirection: Vector = DEFAULT_LIGHT_DIRECTION.normalize()): PreparedScene

Project the scene to 2D and produce sorted render commands.

Parameters

lightDirection

Normalized light direction for shading.