public class Scene
GUI-independent scene. Mutate it on the rendering thread. Example: scene = Scene(); scene.root.add(asset.instantiate())
| Modifier and Type | Member | Description |
|---|---|---|
| public property | ambientambient as Float = 0.08f |
Ambient illumination, finite and nonnegative. |
| public property | backgroundbackground as LinearColor = LinearColor(0.012f, 0.018f, 0.03f) |
Linear background color. |
| public property | lightColorlightColor as LinearColor = LinearColor() |
Linear light color. |
| public property | lightDirection | Direction from the surface toward the main directional light. |
| public readonly property | root | Scene graph root. |