Quartz UI ↗
Browse docs
On this page
Private preview · 0.57.0-devView Markdown

QuartzUILocalPlayerResolver: declaration reference

0.57.0-dev · beta source documentation. Native, Blueprint, Editor and rendering examples are source-reviewed, not executed in Unreal during this scan. See validation and limits.

Pinned source (source: Source/QuartzUIRuntime/Public/QuartzUILocalPlayerResolver.h) · integration recipe · practical guide

FQuartzUILocalPlayerResolver

Internal type. Shared exact-player resolution for actor components hosted on a controller, HUD, or pawn chain.

Prerequisites / integration: Exact local player and configured app; Slate/UMG dependencies for native presentation work. Use the QuartzUILocalPlayerResolver recipe in the host module QuartzUIRuntime.

Minimal example / lifecycle: Supply a local controller to facade/component. Resolves within current game instance and supported owner chain.

Avoid: Falling back to a first player or scanning the world. This named helper is runtime-owned; inspect/use it through the owner above rather than constructing it in gameplay.

Exact source line (source: Source/QuartzUIRuntime/Public/QuartzUILocalPlayerResolver.h#L9)

Complete header

Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.

#pragma once

#include "CoreMinimal.h"

class AActor;
class ULocalPlayer;

/** Shared exact-player resolution for actor components hosted on a controller, HUD, or pawn chain. */
class QUARTZUIRUNTIME_API FQuartzUILocalPlayerResolver final
{
public:
	static ULocalPlayer* Resolve(const AActor* HostActor);
};