viewFlags
viewFlags: Partial<Mutable<NonFunctionPropertiesOf<ViewFlags>>> | undefined
Optional overrides for a subset of the Viewport's ViewFlags when drawing your graphic. If, for example, you always want your graphic to be drawn as illuminated 3d surfaces, specify the following:
{ renderMode: RenderMode.SmoothShade, lighting: true }
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.