Skip to main content

PointLight

Represents a point light source in 3D space.

TypeNameInterface Description
VariablesattenuationRange: number

Function: Gets the attenuation range of the point light.

Functionsconstructor()

Examples

constructor()

let obj = new APJS.PointLight();

Use Case

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