Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainFollowSubsystem::

TrackComponent

Follow one instanced component.

Declaration

bool TrackComponent(UInstancedStaticMeshComponent* Component, const OrreryTerrain::Native::FFollowRules& Rules);
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

Registration and its first snap are spread over the next ticks.

Parameters

NameTypeDefaultMeaning
ComponentUInstancedStaticMeshComponent*—

An instanced static mesh component (hierarchical ones included).

Rulesconst OrreryTerrain::Native::FFollowRules&—

Mode Ignore tracks nothing.

Returns

false when it is already tracked, is null, or the rules say Ignore.