Hierarchy

  • MaterialOptions

Constructors

Properties

atlasIndex: number

Index into a (vertical strip) texture atlas, if applicable

color: number[]

An array of 0..1 floats, either [R,G,B] or [R,G,B,A]

renderMaterial: any

An optional Babylon.js Material. If specified, terrain for this voxel will be rendered with the supplied material (this can impact performance).

texHasAlpha: boolean

Whether the texture image has alpha

textureURL: string

Filename of texture image, if any

Generated using TypeDoc