org.rajawali3d.materials / Material / setAmbientIntensity

setAmbientIntensity

open fun setAmbientIntensity(r: Double, g: Double, b: Double): Unit

This material's ambient intensity for the r, g, b channels.

Parameters

r - Double: The value [0..1] for the red channel

g - Double: The value [0..1] for the green channel

b - Double: The value [0..1] for the blue channel

open fun setAmbientIntensity(r: Float, g: Float, b: Float): Unit

This material's ambient intensity for the r, g, b channels.

Parameters

r - Float: The value [0..1] for the red channel

g - Float: The value [0..1] for the green channel

b - Float: The value [0..1] for the blue channel

open fun setAmbientIntensity(r: Double, g: Double, b: Double): Unit

This material's ambient intensity for the r, g, b channels.

Parameters

r - Double: The value [0..1] for the red channel

g - Double: The value [0..1] for the green channel

b - Double: The value [0..1] for the blue channel

open fun setAmbientIntensity(r: Float, g: Float, b: Float): Unit

This material's ambient intensity for the r, g, b channels.

Parameters

r - Float: The value [0..1] for the red channel

g - Float: The value [0..1] for the green channel

b - Float: The value [0..1] for the blue channel