Skip to content

Documentation / @imvu/chkn / MaterialSpec

Interface: MaterialSpec ​

Defined in: packages/chkn/src/ProductDefinition.ts:21

A material slot (TextureMapN): which .xrf a submesh with this materialId uses, plus render settings.

Properties ​

asset ​

ts
readonly asset: string | undefined;

Defined in: packages/chkn/src/ProductDefinition.ts:25

The material file name, e.g. Room.MAT[0].xrf.


index ​

ts
readonly index: number;

Defined in: packages/chkn/src/ProductDefinition.ts:23

Matches Submesh.materialId in the mesh.


raw ​

ts
readonly raw: TemplateDict;

Defined in: packages/chkn/src/ProductDefinition.ts:26

Released under the MIT License.