Reference Source
public class | source

XKTTextureSet

A set of textures shared by XKTMeshes.

Member Summary

Public Members
public

RGBA XKTTexture containing base color in RGB and opacity in A.

public

RGBA XKTTexture with emissive color in RGB.

public

Index of this XKTTextureSet in XKTModel#meshesList;

public

Identifies the material type.

public

RGBA XKTTexture containing metallic and roughness factors in R and G.

public

RGBA XKTTexture with surface normals in RGB.

public

The number of XKTMeshs that reference this XKTTextureSet.

public

RGBA XKTTexture with ambient occlusion factors in RGB.

public

Unique ID of this XKTTextureSet in XKTModel#materials.

public

Index of this XKTTexture in XKTModel#texturesList;

Public Members

public colorTexture: XKTTexture source

RGBA XKTTexture containing base color in RGB and opacity in A.

public emissiveTexture: XKTTexture source

RGBA XKTTexture with emissive color in RGB.

public materialIndex: Number source

Index of this XKTTextureSet in XKTModel#meshesList;

public materialType: Number source

Identifies the material type.

public metallicRoughnessTexture: XKTTexture source

RGBA XKTTexture containing metallic and roughness factors in R and G.

public normalsTexture: XKTTexture source

RGBA XKTTexture with surface normals in RGB.

public numInstances: Number source

The number of XKTMeshs that reference this XKTTextureSet.

public occlusionTexture: XKTTexture source

RGBA XKTTexture with ambient occlusion factors in RGB.

public textureSetId: Number source

Unique ID of this XKTTextureSet in XKTModel#materials.

public textureSetIndex: Number source

Index of this XKTTexture in XKTModel#texturesList;