dynamicLight

fun dynamicLight(ambientLight: AmbientLight, directionalLight: DirectionalLight): DynamicLight

DSL function for creating DynamicLight instance.

Parameters

ambientLight

the AmbientLight to set.

directionalLight

the DirectionalLight to set.