Terrain

*

Constructors

this
this(string id)

*

Destructor

~this
~this()
Undocumented in source.

Members

Functions

build
typeof(this) build(float size, float maxHeight, Material[] materials)

* * Returns reference to this so it can be used in a stream.

decreaseTexCoordMultiplier
typeof(this) decreaseTexCoordMultiplier(Vector2F multiplier)

* * Returns reference to this so it can be used in a stream.

decreaseTexCoordMultiplier
typeof(this) decreaseTexCoordMultiplier(float x, float y)

* * Returns reference to this so it can be used in a stream.

getHeight
float getHeight(float worldX, float worldZ)

*

getMaxHeight
float getMaxHeight()

*

getSize
float getSize()

*

getTexCoordMultiplier
Vector2F getTexCoordMultiplier()

*

increaseTexCoordMultiplier
typeof(this) increaseTexCoordMultiplier(Vector2F multiplier)

* * Returns reference to this so it can be used in a stream.

increaseTexCoordMultiplier
typeof(this) increaseTexCoordMultiplier(float x, float y)

* * Returns reference to this so it can be used in a stream.

setTexCoordMultiplier
typeof(this) setTexCoordMultiplier(Vector2F multiplier)

* * Returns reference to this so it can be used in a stream.

setTexCoordMultiplier
typeof(this) setTexCoordMultiplier(float x, float y)

* * Returns reference to this so it can be used in a stream.

Mixins

__anonymous
mixin NodeBody
Undocumented in source.

Mixed In Members

From mixin NodeBody

this
this(string id)
Undocumented in source.

Inherited Members

From Entity

transform
Transform transform;
id
string id;
scene
Scene scene;
visibility
Visibility visibility;
model
Model model;
addComponent
typeof(this) addComponent(T component)
removeComponent
typeof(this) removeComponent(ComponentType type)
component
T component()
start
void start()

Called after all scene entitys instantiation. It is optional.

update
void update()

Called every frame to update the current state of the scene entity. It is optional.

Meta