Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: AmbientLight

[13:7] extends: LightBase

Wraps JavaFX AmbientLight, a light source that illuminates every face of every shape in scope uniformly, with no falloff and no direction. Use a low intensity ambient light to lift global brightness without flattening the scene.

Methods

  • AmbientLight (object ColorObj = null)

    Creates a new AmbientLight. If a Color is provided, it sets the initial light color; otherwise the default is white.

    • @p ColorObj is an optional Color wrapper.