Torque3D Documentation / _generateds / ForestBrushElement

ForestBrushElement

Engine/source/forest/editor/forestBrushElement.h

More...

Private Types

Parent 

Public Attributes

The type of ForestItem this element holds placement parameters for.

The max world space elevation this item will be placed.

The min world space elevation this item will be placed.

The probability that this element will be created during an editor brush stroke.

The max rotation in degrees that items will be placed.

An exponent used to bias between the minimum and maximum random sizes.

The maximum random size of each item.

The minimum random size for each item.

Max variation in the sink radius.

Min variation in the sink radius.

This is the radius used to calculate how much to sink the trunk at its base and is used to sink the tree into the ground when its on a slope.

The max surface slope in degrees this item will be placed on.

The min surface slope in degrees this item will be placed on.

Public Static Functions

Detailed Description

Private Types

typedef SimObject Parent 

Public Attributes

ForestItemData * mData 

The type of ForestItem this element holds placement parameters for.

F32 mElevationMax 

The max world space elevation this item will be placed.

F32 mElevationMin 

The min world space elevation this item will be placed.

F32 mProbability 

The probability that this element will be created during an editor brush stroke.

F32 mRotationRange 

The max rotation in degrees that items will be placed.

F32 mScaleExponent 

An exponent used to bias between the minimum and maximum random sizes.

F32 mScaleMax 

The maximum random size of each item.

F32 mScaleMin 

The minimum random size for each item.

F32 mSinkMax 

Max variation in the sink radius.

F32 mSinkMin 

Min variation in the sink radius.

F32 mSinkRadius 

This is the radius used to calculate how much to sink the trunk at its base and is used to sink the tree into the ground when its on a slope.

F32 mSlopeMax 

The max surface slope in degrees this item will be placed on.

F32 mSlopeMin 

The min surface slope in degrees this item will be placed on.

Public Functions

ForestBrushElement()

DECLARE_CONOBJECT(ForestBrushElement )

Public Static Functions

initPersistFields()