@novorender/web_app / RenderStateBackground
Interface: RenderStateBackground
Background/environment related render state.
Properties
blur?
readonly optional blur: number;
A blur factor to use when rendering the background image.
Remarks
0 will yield no blur, while 1 will yield max blur. Blurring is useful for not overly cluttering up the image with backgrounds while still retaining the ambience and lighting characteristics.
Defined in
@novorender/core3d/state/index.ts:207
color?
readonly optional color: RGB;
The background color to be used if no url is specified.
Remarks
If undefined, the default background will be used instead.
Defined in
@novorender/core3d/state/index.ts:194
rotation?
readonly optional rotation: number;
The horizontal rotation angle, in degrees.
Defined in
@novorender/core3d/state/index.ts:210
url?
readonly optional url: string;
The absolute url of the background/environment.
Remarks
This should point to the folder that contains the textures files of the desired environment, e.g. `https://api.novorender/env/lake/'.