Skip to content
Orbdale

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

NameTypeDefaultMeaning
Typeconst UFoliageType*—

The foliage type; null for a component tagged OrbdaleTerrain.Follow (no slope limit, no alignment).

ModeEOrbdaleTerrainFollowMode—

The type's mode, as UOrbdaleTerrainFollowSettings::ModeFor gives it.