Sein Formation Preview Subsystem
Class · USeinFormationPreviewSubsystem : ULocalPlayerSubsystem
#include "Preview/SeinFormationPreviewSubsystem.h"
Draws the on-ground preview of where the selected units will stand if the current order is issued. It follows the cursor, shows the formation being dragged out, and hides when nothing is selected. Units appear in the preview only if their Blueprint carries a Navigation Renderer.
Functions
Section titled “Functions”Refresh Preview
Section titled “Refresh Preview”Refresh Preview
Target
Force a refresh of the preview from the current cursor / drag state.
void RefreshPreview();Is Preview Visible
Section titled “Is Preview Visible”Is Preview Visible
Target
Return Value
True while a destination preview is being drawn.
bool IsPreviewVisible() const;Network functions
Section titled “Network functions”Handle Selection Changed
Section titled “Handle Selection Changed”void HandleSelectionChanged();PC delegate handlers
Handle Cursor Updated
Section titled “Handle Cursor Updated”void HandleCursorUpdated(FVector CursorWorld, bool bValidTrace);Called by the player controller whenever the cursor moves. Updates the preview position; not meant to be called directly.
C++ members (2)
void ReleaseModuleOwnedStateForModuleUnload();Stop ticking, detach from engine/player delegates, and destroy the transient preview before module withdrawal.bool TryGetDisplayedDestinationArtifact(const TArray<FSeinEntityHandle>& Members, const FFixedVector& TargetLocation, const TArray<FFixedVector>& GuidePoints, FGameplayTag FormationTag, bool bQueueCommand, TArray<FSeinFrozenDestination>& OutArtifact) const;Return the exact artifact currently rendered when its complete command key matches. False prevents stale preview state from entering a command.