PointLight
Represents a point light source in 3D space.
| Type | Name | Interface Description |
|---|---|---|
| Variables | attenuationRange: number | • Function: Gets the attenuation range of the point light. |
| Functions | constructor() |
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) {
}
}