Main   Class List   Namespace List   Wiki

ForestItemData Class Reference
[Forest]

Base class for defining a type of ForestItem. It does not implement loading or rendering of the shapeFile. More...

Inheritance diagram for ForestItemData:
Inheritance graph
[legend]

List of all members.

Public Attributes

Wind

float branchAmp
 Amplitude of the effect on larger branches.
float dampingCoefficient
 Coefficient used in calculating spring forces on the trunk. Causes oscillation and forces to decay faster over time.
float detailAmp
 Amplitude of the winds effect on leafs/fronds.
float detailFreq
 Frequency (speed) of the effect on leafs/fronds.
float mass
 Mass used in calculating spring forces on the trunk. Generally how springy a plant is.
float rigidity
 Rigidity used in calculating spring forces on the trunk. How much the plant resists the wind force.
float tightnessCoefficient
 Coefficient used in calculating spring forces on the trunk. How much the plant resists bending.
float trunkBendScale
 Overall bend amount of the tree trunk by wind and impacts.
float windScale
 Overall scale to the effect of wind.
Media

bool collidable
 Can other objects or spacial queries hit items of this type.
float radius
 Radius used during placement to ensure items are not crowded.
filename shapeFile
 Shape file for this item type.

Detailed Description

Base class for defining a type of ForestItem. It does not implement loading or rendering of the shapeFile.


Member Data Documentation

Amplitude of the effect on larger branches.

Can other objects or spacial queries hit items of this type.

Coefficient used in calculating spring forces on the trunk. Causes oscillation and forces to decay faster over time.

Amplitude of the winds effect on leafs/fronds.

Frequency (speed) of the effect on leafs/fronds.

Mass used in calculating spring forces on the trunk. Generally how springy a plant is.

Radius used during placement to ensure items are not crowded.

Rigidity used in calculating spring forces on the trunk. How much the plant resists the wind force.

Shape file for this item type.

Coefficient used in calculating spring forces on the trunk. How much the plant resists bending.

Overall bend amount of the tree trunk by wind and impacts.

Overall scale to the effect of wind.



Copyright © GarageGames, LLC. All Rights Reserved.