Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainFollowSubsystem::
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 OrbdaleTerrain::Native::FFollowRules RulesForFoliage(const UFoliageType* Type, EOrbdaleTerrainFollowMode Mode);- Header
#include "OrbdaleTerrainFollowSubsystem.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread. (the rule of UOrbdaleTerrainFollowSubsystem)
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 | EOrbdale | — | The type's mode, as |