HeightGenerator
classTerrain height built from a stack of noises
Functions
HeightGenerator:add_noise(noise)
Add a noise generator to the height generator
| noise | NoiseGenerator | Noise generator to add |
Standard members (5)
Generated for every class of this kind by the game's codegen, not written for HeightGenerator.
| HeightGenerator.cast(object) | Trying to cast Object into HeightGenerator |
| HeightGenerator.get_class() | Return HeightGenerator class object |
| HeightGenerator.find(name) | Looks HeightGenerator up in db, nil when there is none |
| HeightGenerator.get(name) | Takes HeightGenerator from db, reports a miss to the log |
| HeightGenerator.reg(name) | Register a new HeightGenerator static object |
Inherited from Prototype (2)
- name Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object
Used by
- LuaWorldGenerator.height field