CLASSES
TagsA - Z

LensFlareSystem

Description

class LensFlareSystem

Constructor

new LensFlareSystem(name, emitter, scene)

Parameters

Name Type Description
name string
emitter any
scene Scene

Members

name : string

lensFlares : LensFlare[]

borderLimit : number

viewportBorder : number

meshesSelectionPredicate : Mesh) => boolean

layerMask : number

id : string

isEnabled : boolean

Methods

getScene() Scene

getEmitter() any

setEmitter(newEmitter) void

Parameters

Name Type Description
newEmitter any

getEmitterPosition() Vector3

computeEffectivePosition(globalViewport) boolean

Parameters

Name Type Description
globalViewport Viewport

render() boolean

dispose() void

static Parse(parsedLensFlareSystem, scene, rootUrl) LensFlareSystem

Parameters

Name Type Description
parsedLensFlareSystem any
scene Scene
rootUrl string

serialize() any