Skip to main content

@novorender/api / RenderStateDynamicNormalTextureReference

Interface: RenderStateDynamicNormalTextureReference

Defined in: @novorender/src/core3d/state/dynamic.ts:81

Normal map texture reference state.

Extends​

Properties​

scale?​

readonly optional scale: number;

Defined in: @novorender/src/core3d/state/dynamic.ts:86

Scale factor to apply to normal XY coordinate.

Default Value​

1.0

texCoord?​

readonly optional texCoord: 0 | 1;

Defined in: @novorender/src/core3d/state/dynamic.ts:70

What set of texture coordinates to use (0 or 1).

Default Value​

0

Inherited from​

RenderStateDynamicTextureReference.texCoord


texture​

readonly texture: RenderStateDynamicTexture;

Defined in: @novorender/src/core3d/state/dynamic.ts:65

What texture to use.

Inherited from​

RenderStateDynamicTextureReference.texture


transform?​

readonly optional transform: ReadonlyMat3;

Defined in: @novorender/src/core3d/state/dynamic.ts:75

Optional texture coordinate 3x3 transformation matrix

Default Value​

Identity matrix.

Inherited from​

RenderStateDynamicTextureReference.transform