Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainFollowSubsystem::
RulesForFoliage
The rules a foliage type follows the ground with: Mode, the type's slope limit (GroundSlopeAngle.Max) and alignment (AlignToNormal, AlignMaxAngle), and the project's clear margin.
Declaration
static OrreryTerrain::Native::FFollowRules RulesForFoliage(const UFoliageType* Type, EOrreryTerrainFollowMode Mode);- Header
#include "OrreryTerrainFollowSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread. (the rule of UOrreryTerrainFollowSubsystem)
Description
The editor's follow applies the same rules.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Type | const UFoliage | — | The foliage type; null for a component tagged |
Mode | EOrrery | — | The type's mode, as |