Properties
assetType
assetType: "light" = ...
castShadow
castShadow: boolean
clone
clone: ((recursive?) => this)
Type declaration
- (recursive?): this
Parameters
Optional
recursive: boolean
Returns this
color
copy
copy: ((source, recursive?, ...args) => this)
Type declaration
- (source, recursive?, ...args): this
Parameters
Optional
recursive: boolean
Rest
...args: any[]
Returns this
dispatchEvent
dispatchEvent: ((event) => void)
Type declaration
- (event): void
Returns void
getObjectById
getObjectById: (<T>(id) => undefined | T) Type declaration
- <T>(id): undefined | T
Returns undefined | T
getObjectByName
getObjectByName: (<T>(name) => undefined | T) Type declaration
- <T>(name): undefined | T
Returns undefined | T
getObjectByProperty
getObjectByProperty: (<T>(name,
value) => undefined | T) Type declaration
- <T>(name, value): undefined | T
Parameters
name: string
value: string
Returns undefined | T
intensity
intensity: number
Readonly
isDirectionalLight2
isDirectionalLight2: true = true
parent
parent: null
Readonly
position
refreshUi
refreshUi: ((this) => void) = iLightCommons.refreshUi
remove
remove: ((...object) => this)
Type declaration
- (...object): this
Returns this
Readonly
rotation
setDirty
setDirty: ((this, options?) => void) = iLightCommons.setDirty
Type declaration
- (this, options?): void
Returns void
traverse
traverse: ((callback) => void)
Type declaration
- (callback): void
Parameters
callback: ((object) => void)
- (object): void
Returns void
Returns void
traverseAncestors
traverseAncestors: ((callback) => void)
Type declaration
- (callback): void
Parameters
callback: ((object) => void)
- (object): void
Returns void
Returns void
traverseVisible
traverseVisible: ((callback) => void)
Type declaration
- (callback): void
Parameters
callback: ((object) => void)
- (object): void
Returns void
Returns void
visible
visible: boolean
Deprecated
use
this
instead