color

actual fun color(r: Float, g: Float, b: Float, a: Float): Skybox.Builder

Set the Skybox to a constant color.

This is ignored if an environment cubemap is set. Default: opaque black.

Return

This Builder, for chaining calls.

Parameters

r

Red channel 0, 1.

g

Green channel 0, 1.

b

Blue channel 0, 1.

a

Alpha channel 0, 1.

expect fun color(r: Float, g: Float, b: Float, a: Float): Skybox.Builder

Set the Skybox to a constant color.

This is ignored if an environment cubemap is set. Default: opaque black.

Return

This Builder, for chaining calls.

Parameters

r

Red channel 0, 1.

g

Green channel 0, 1.

b

Blue channel 0, 1.

a

Alpha channel 0, 1.

actual fun color(r: Float, g: Float, b: Float, a: Float): Skybox.Builder

Set the Skybox to a constant color.

This is ignored if an environment cubemap is set. Default: opaque black.

Return

This Builder, for chaining calls.

Parameters

r

Red channel 0, 1.

g

Green channel 0, 1.

b

Blue channel 0, 1.

a

Alpha channel 0, 1.

actual fun color(r: Float, g: Float, b: Float, a: Float): Skybox.Builder

Set the Skybox to a constant color.

This is ignored if an environment cubemap is set. Default: opaque black.

Return

This Builder, for chaining calls.

Parameters

r

Red channel 0, 1.

g

Green channel 0, 1.

b

Blue channel 0, 1.

a

Alpha channel 0, 1.

actual fun color(r: Float, g: Float, b: Float, a: Float): Skybox.Builder

Set the Skybox to a constant color.

This is ignored if an environment cubemap is set. Default: opaque black.

Return

This Builder, for chaining calls.

Parameters

r

Red channel 0, 1.

g

Green channel 0, 1.

b

Blue channel 0, 1.

a

Alpha channel 0, 1.