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
| Name | Type | Default | Meaning |
|---|---|---|---|
Component | UInstanced | — | An instanced static mesh component (hierarchical ones included). |
Rules | const Orrery | — | Mode Ignore tracks nothing. |
Returns
false when it is already tracked, is null, or the rules say Ignore.