Preparing search index...

    Component controlling light properties, shadows, and environment mapping.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    autoLightSourcePosition: boolean

    Whether light position is adjusted automatically.

    autoShadowFrustumSize: boolean

    Whether shadow frustum size is calculated automatically.

    autoShadowFrustumSizeExtend: number

    Scale factor for automatic shadow frustum size.

    color: vec4

    Light color as an RGBA vector.

    diffuseEnvmapTexture: Texture

    Texture for diffuse environment mapping.

    dynamicEnvInputTexture: Texture

    Input texture for dynamic environment mapping.

    enabled: boolean

    Whether the component is active.

    envmapExposure: number

    Brightness multiplier for the environment map.

    envmapFromCameraMode: EnvmapFromCameraMode

    Mode for deriving the environment map from the camera.

    envmapRotation: number

    Rotation angle of the environment map in degrees.

    estimationSharpness: number

    Sharpness parameter for light estimation.

    falloffRange: number

    Distance over which light intensity decreases.

    falloffType: FalloffType

    Curve used for light intensity falloff.

    id: Uuid

    The unique id of the entity.

    innerConeAngle: number

    Inner cone angle for spot lights in degrees.

    intensity: number

    Brightness multiplier of the light.

    lightType: LightType

    Type of light source (point, directional, spot, etc.).

    meta: Meta

    Metadata associated with this entity, providing access to its unique identifier and other descriptive properties.

    name: string

    Name of the component.

    outerConeAngle: number

    Outer cone angle for spot lights in degrees.

    renderLayer: LayerSet

    The set of render layers this component belongs to.

    sceneObject: SceneObject

    Scene object this component is attached to.

    shadowBlurRadius: number

    Blur amount applied to shadow edges.

    shadowColor: vec4

    Shadow tint as an RGBA vector.

    shadowDensity: number

    Shadow opacity multiplier.

    shadowFrustumFarClipPlane: number

    Far clip distance for shadow projection.

    shadowFrustumNearClipPlane: number

    Near clip distance for shadow projection.

    shadowFrustumSize: number

    Size of the shadow projection volume.

    shadowTextureSize: number

    Resolution of the shadow map texture.

    shadowType: ShadowType

    Shadow rendering method (none, hard, or soft).

    specularEnvmapTexture: Texture

    Texture for specular environment mapping.

    type: string

    The entity's type.

    useEnvmapFromCamera: boolean

    Whether environment map is derived from the camera.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean