# struct
FFoliageSettings
No description available.
# Members
Type | Member | Description |
---|---|---|
float | SeparateFoliageAreaThreshold | Is used to separate the trunk from the foliage in a vegetation scene by finding each group of connected triangles in the scene and if the surface area is below (SeparateFoliageAreaThreshold * AreaOfTheLargestGroupInTheScene) it is treated as foliage and processed into billboards. The trunk is optimized using reduction. The range is 0->large value. 0 means nothing will be foliage, value larger than the maximum surface area means everything will be foliage. |
float | SeparateFoliageSizeThreshold | Is used to separate the trunk from the foliage in a vegetation scene by finding each group of connected triangles in the scene and if the diameter of the group is below (SeparateFoliageSizeThreshold * SceneDiameter) it is treated as foliage and processed into billboards. The trunk is optimized using reduction. The range is 0->large value. 0 means nothing will be foliage, value larger than the scene's diameter means everything will be foliage. |
float | SeparateFoliageTriangleRatio | Is used to separate the trunk from the foliage in a vegetation scene by comparing each group of connected triangles in the scene with the scene's largest group. If a group's triangle count is below SeparateFoliageTriangleRatio * largestGrouptriangleCount it is treated as foliage and processed into billboards. The trunk is optimized using triangle reduction. The range is 0.0->1.0. 0.0 means nothing will be foliage, 1.0 means everything will be foliage. |
int | SeparateFoliageTriangleThreshold | Is used to separate the trunk from the foliage in a vegetation scene by finding each group of connected triangles in the scene and if the triangle count is below SeparateFoliageTriangleThreshold it is treated as foliage and processed into billboards. The trunk is optimized using reduction. The range is 0->large value. 0 means nothing will be foliage, value larger than the maximum triangle count means everything will be foliage. |
uint8 | SeparateTrunkAndFoliage | Determines whether to enable separation between foliage and trunk in a vegetation scene. Use the SeparateFoliage[...] settings to determine how parts are separated. |
float | TrunkReductionRatio | Determines the triangle reduction ratio for the trunk part that has been separated from the foliage part based on the 'separate foliage' settings. |
# Methods
Method | Description |
---|---|
StaticStruct | No description available. |
# StaticStruct
# Syntax
SIMPLYGONUOBJECTS_API * StaticStruct();
# Parameters
StaticStruct takes no parameters.
Return Type:
SIMPLYGONUOBJECTS_API