Skip to main content

EnvironmentLight

Represents an environment light component.

TypeNameInterface Description
Variablescolor: Color

Function: The tint color of the environment light.

VariablesenvironmentMap: Texture

Function: Gets the environment map used for specular reflections. The returned texture is expected to be a cubemap texture.

Variablesintensity: number

Function: Gets the intensity of the environment light.

VariablesrenderLayer: LayerSet

Function: Gets the render layer of the environment light.

Variablesrotation: number

Function: Gets the rotation of the environment light in degrees.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.EnvironmentLight();

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use EnvironmentLight here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies