Skip to main content

@novorender/api / TextureDescription

Interface: TextureDescription

Defined in: @novorender/src/web_app/view.ts:1616

PBR Material texture description

Extends​

Properties​

albedo​

readonly albedo: RGB;

Defined in: @novorender/src/core3d/materials.ts:50

Default base color factor.

Inherited from​

PBRMaterialInfo.albedo

ambient​

readonly ambient: number;

Defined in: @novorender/src/core3d/materials.ts:59

Ambient light factor factor [0,1], default = 0.

Inherited from​

PBRMaterialInfo.ambient

metalness​

readonly metalness: number;

Defined in: @novorender/src/core3d/materials.ts:53

Default metalness factor, i.e. 0 = plastic, 1 = metal.

Inherited from​

PBRMaterialInfo.metalness

name​

readonly name: string;

Defined in: @novorender/src/web_app/view.ts:1620

Display name of texture.


roughness​

readonly roughness: number;

Defined in: @novorender/src/core3d/materials.ts:56

Default roughness factor, i.e. 0 = shiny, 1 = rough.

Inherited from​

PBRMaterialInfo.roughness

scale​

readonly scale: number;

Defined in: @novorender/src/core3d/materials.ts:47

Linear scale, i.e. size per "tile" in meters.

Inherited from​

PBRMaterialInfo.scale

tags​

readonly tags: readonly string[];

Defined in: @novorender/src/web_app/view.ts:1623

Texture tags.


thumnbnailURL?​

readonly optional thumnbnailURL: string;

Defined in: @novorender/src/web_app/view.ts:1626

Thumbnail URL.


url​

readonly url: string;

Defined in: @novorender/src/core3d/state/index.ts:723

Texture URL.

Inherited from​

RenderStateTextureReference.url