LightEffectClass
LightEffectClass<
S> =LightEffect&EffectValues<S> &EffectConstants<S>
Defined in: packages/three-flatland/src/lights/LightEffect.ts:720
Type for a LightEffect class created by the factory. Instances have typed properties matching the schema.
Type Parameters
Section titled “Type Parameters”S extends EffectSchema
new LightEffectClass():
LightEffect&EffectValues<S> &EffectConstants<S>
Type for a LightEffect class created by the factory. Instances have typed properties matching the schema.
Returns
Section titled “Returns”LightEffect & EffectValues<S> & EffectConstants<S>
Properties
Section titled “Properties”_constantFactories
Section titled “_constantFactories”
readonly_constantFactories:Record<string, () =>unknown>
Defined in: packages/three-flatland/src/lights/LightEffect.ts:730
_fieldKeys
Section titled “_fieldKeys”
readonly_fieldKeys:Readonly<Record<string, readonlystring[]>>
Defined in: packages/three-flatland/src/lights/LightEffect.ts:727
_fieldMap
Section titled “_fieldMap”
readonly_fieldMap:ReadonlyMap<string,EffectField>
Defined in: packages/three-flatland/src/lights/LightEffect.ts:728
_fields
Section titled “_fields”
readonly_fields:EffectField[]
Defined in: packages/three-flatland/src/lights/LightEffect.ts:726
_initialized
Section titled “_initialized”
readonly_initialized:boolean
Defined in: packages/three-flatland/src/lights/LightEffect.ts:731
_totalFloats
Section titled “_totalFloats”
readonly_totalFloats:number
Defined in: packages/three-flatland/src/lights/LightEffect.ts:729
lightName
Section titled “lightName”
readonlylightName:string
Defined in: packages/three-flatland/src/lights/LightEffect.ts:722
lightSchema
Section titled “lightSchema”
readonlylightSchema:S
Defined in: packages/three-flatland/src/lights/LightEffect.ts:723
needsShadows
Section titled “needsShadows”
readonlyneedsShadows:boolean
Defined in: packages/three-flatland/src/lights/LightEffect.ts:724
requires
Section titled “requires”
readonlyrequires: readonlyChannelName[]
Defined in: packages/three-flatland/src/lights/LightEffect.ts:725
Methods
Section titled “Methods”_initialize()
Section titled “_initialize()”_initialize():
void
Defined in: packages/three-flatland/src/lights/LightEffect.ts:732
Returns
Section titled “Returns”void
buildLightFn()
Section titled “buildLightFn()”buildLightFn(
context):ColorTransformFn
Defined in: packages/three-flatland/src/lights/LightEffect.ts:733