Scene
classin packageklyn.graphics3d
public class Scene
Scene

GUI-independent scene. Mutate it on the rendering thread. Example: scene = Scene(); scene.root.add(asset.instantiate())

Properties
Modifier and Type Member Description
public property ambient
ambient as Float = 0.08f
Ambient illumination, finite and nonnegative.
public property background
background as LinearColor = LinearColor(0.012f, 0.018f, 0.03f)
Linear background color.
public property lightColor
lightColor as LinearColor = LinearColor()
Linear light color.
public property lightDirection
lightDirection as Vector3d<Double> = Vector3d<Double>(-1.0, 2.0, 3.0)
Direction from the surface toward the main directional light.
public readonly property root
root as SceneNode = SceneNode("root")
Scene graph root.