ForestItemData
Base class for defining a type of ForestItem. It does not implement loading or rendering of the shapeFile.
Media
filename
Shape file for this item type.
bool
Can other objects or spacial queries hit items of this type.
float
Radius used during placement to ensure items are not crowded.
Wind
float
Mass used in calculating spring forces on the trunk. Generally how springy a plant is.
float
Rigidity used in calculating spring forces on the trunk. How much the plant resists the wind force.
float
Coefficient used in calculating spring forces on the trunk. How much the plant resists bending.
float
Coefficient used in calculating spring forces on the trunk. Causes oscillation and forces to decay faster over time.
float
Overall scale to the effect of wind.
float
Overall bend amount of the tree trunk by wind and impacts.
float
Amplitude of the effect on larger branches.
float
Amplitude of the winds effect on leafs/fronds.
float
Frequency (speed) of the effect on leafs/fronds.
Detailed Description
Base class for defining a type of ForestItem. It does not implement loading or rendering of the shapeFile.
Media
filename shapeFile
Shape file for this item type.
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.
Wind
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 dampingCoefficient
Coefficient used in calculating spring forces on the trunk. Causes oscillation and forces to decay faster over time.
float windScale
Overall scale to the effect of wind.
float trunkBendScale
Overall bend amount of the tree trunk by wind and impacts.
float branchAmp
Amplitude of the effect on larger branches.
float detailAmp
Amplitude of the winds effect on leafs/fronds.
float detailFreq
Frequency (speed) of the effect on leafs/fronds.