MaterialSystem

System managing terrain materials.

Summary
MaterialSystemSystem managing terrain materials.
Functions
NKGetMaterialIDByNameTranslates a material name to material id.
NKGetNameByIDTranslates a material id to a material name.

Functions

NKGetMaterialIDByName

Translates a material name to material id.

Parameters

stringThe name of the material to translate.

Returns

intThe material id of the provided material name.

NKGetNameByID

Translates a material id to a material name.

Parameters

intThe material id to translat.

Returns

stringThe name of the provided material id.
Close