ForestBrushElement

Represents a type of ForestItem and parameters for how it is placed when painting with a ForestBrush that contains it.

Inherit:
SimObject

Description

Represents a type of ForestItem and parameters for how it is placed when painting with a ForestBrush that contains it.

Fields

float ForestBrushElement::elevationMax

The max world space elevation this item will be placed.

float ForestBrushElement::elevationMin

The min world space elevation this item will be placed.

ForestItemData ForestBrushElement::ForestItemData

The type of ForestItem this element holds placement parameters for.

float ForestBrushElement::probability

The probability that this element will be created during an editor brush stroke is the sum of all element probabilities in the brush divided by the probability of this element.

float ForestBrushElement::rotationRange

The max rotation in degrees that items will be placed.

float ForestBrushElement::scaleExponent

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

float ForestBrushElement::scaleMax

The maximum random size of each item.

float ForestBrushElement::scaleMin

The minimum random size for each item.

float ForestBrushElement::sinkMax

Max variation in the sink radius.

float ForestBrushElement::sinkMin

Min variation in the sink radius.

float ForestBrushElement::sinkRadius

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.

float ForestBrushElement::slopeMax

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

float ForestBrushElement::slopeMin

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