environment

actual fun environment(cubemap: Texture): Skybox.Builder

Set the environment map (the skybox content).

The Skybox is rendered as though it were an infinitely large cube with the camera inside it. The cubemap is mapped onto the cube's exterior, so the cubemap appears mirrored following OpenGL conventions.

The cmgen tool generates reflection maps by default, which are ideal for use as skyboxes.

Return

This Builder, for chaining calls.

Parameters

cubemap

A cube map Texture.

See also

expect fun environment(cubemap: Texture): Skybox.Builder

Set the environment map (the skybox content).

The Skybox is rendered as though it were an infinitely large cube with the camera inside it. The cubemap is mapped onto the cube's exterior, so the cubemap appears mirrored following OpenGL conventions.

The cmgen tool generates reflection maps by default, which are ideal for use as skyboxes.

Return

This Builder, for chaining calls.

Parameters

cubemap

A cube map Texture.

See also

actual fun environment(cubemap: Texture): Skybox.Builder

Set the environment map (the skybox content).

The Skybox is rendered as though it were an infinitely large cube with the camera inside it. The cubemap is mapped onto the cube's exterior, so the cubemap appears mirrored following OpenGL conventions.

The cmgen tool generates reflection maps by default, which are ideal for use as skyboxes.

Return

This Builder, for chaining calls.

Parameters

cubemap

A cube map Texture.

See also

actual fun environment(cubemap: Texture): Skybox.Builder

Set the environment map (the skybox content).

The Skybox is rendered as though it were an infinitely large cube with the camera inside it. The cubemap is mapped onto the cube's exterior, so the cubemap appears mirrored following OpenGL conventions.

The cmgen tool generates reflection maps by default, which are ideal for use as skyboxes.

Return

This Builder, for chaining calls.

Parameters

cubemap

A cube map Texture.

See also

actual fun environment(cubemap: Texture): Skybox.Builder

Set the environment map (the skybox content).

The Skybox is rendered as though it were an infinitely large cube with the camera inside it. The cubemap is mapped onto the cube's exterior, so the cubemap appears mirrored following OpenGL conventions.

The cmgen tool generates reflection maps by default, which are ideal for use as skyboxes.

Return

This Builder, for chaining calls.

Parameters

cubemap

A cube map Texture.

See also