S2ENGINE HD  1.4.6
Official manual about S2Engine HD editor and programming
Grass

Base Class: StaticGeom

Grass.jpg

Overview

Grass is a static object used for populating the terrain with tussocks. It is composed by a set of max 100 tussocks. Each tussock is represented as billboard always facing the horizontal direction of the camera. Tussocks are equally distributed to form a circle. The best feature of grass object is that every tussock height is adapted to the terrain, so with a single object you can obtain a big surface of grass that adapt itself to the terrain roughness.

Parameters
Material(material filename) filename of the material used to represent a single tussock.
numplants(int) number of tussocks. It can assumes values for 1 to 100.
plantsize(float) size, of the tussocks. Default is 10.
radius(float) radius of the tussocks set.
pickTerrainColor(bool) if true every tussocks color is multiplied by the color of the terrain below.

Receiving Messages

none

Sending Messages

none

See also
Messages