ImageBasedLightComponent

A Component that provides localized image-based lighting (IBL) for entities with an ImageBasedLightReceiverComponent.

This component creates lighting effects for specific objects with the following features:

  • Realistic environment lighting effects: Use HDR environment cubemaps (only support .ktx file currently) as light sources.

  • Targeted illumination: Only affects entities with ImageBasedLightReceiverComponent.

  • Dynamic Control: Adjust rotation, intensity and source textures at runtime.

Constructors

Link copied to clipboard
constructor(source: ImageBasedLightSource, @FloatRange(from = -24.0, to = 24.0) intensityExponent: Float)
constructor(source: ImageBasedLightSource, @FloatRange(from = -24.0, to = 24.0) intensityExponent: Float, rotation: Quat)

Properties

Link copied to clipboard

The intensity exponent of the current image-based lighting. The intensity is 2^intensityExponent.

Link copied to clipboard

The rotation of the current image-based lighting.

Link copied to clipboard

The source of the current image-based lighting.

Functions

Link copied to clipboard
open override fun clone(): Component

Creates and returns a copy of this Component instance.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String