ModelData:getOcclusionTexture

Returns the occlusion texture of a material in the ModelData.

texture = ModelData:getOcclusionTexture(index)

Arguments

NameTypeDescription
indexnumberThe index of the material.

Returns

NameTypeDescription
textureTextureDataThe occlusion texture data.

See also