Skip to content

createGlyphField#lit

Summary

createGlyphField#lit gets or sets whether glyphs use scene lighting. Assignment coerces to boolean and dirties uniforms.

Syntax

GlyphField.lit: boolean
const value = glyphField.lit;
glyphField.lit = true;

Returns

Whether scene lighting is enabled for the glyph field.

See Also