HeightMap

HeightMap# HeightMap

new HeightMap(room, systemNameopt)

Description:
  • Creates an instance of HeightMap.

Source:
Properties:
Name Type Description
room Object

The room object.

name string

The name of the particle system.

heightMapPath Object

The path to the height map texture.

spawnMapPath Object

The path to the spawn map texture.

spawnMapMode number

The number of channels in the spawn map texture.

material Object

The material for the particle system.

shaderSettings Object

The shader settings for the particle system.

knownKeys Array.<string>

Known keys for shader settings.

Parameters:
Name Type Attributes Default Description
room Object null

The room object.

systemName string <optional>
'heightMap'

The name of the particle system.