QuartzUIPagePolicy: 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/QuartzUIPagePolicy.h) · integration recipe · practical guide
FQuartzUIPagePolicy
Internal type. Builds browser-side behavior applied to every QuartzUI document after load.
Prerequisites / integration: Exact-player app/view and real supported RHI for rendering; project-owned HTML/materials. Use the QuartzUIPagePolicy recipe in the host module QuartzUIRuntime.
Minimal example / lifecycle: Use widget flags and data-quartzui-backdrop HTML marker. Applied to each completed document.
Avoid: Patching generated bootstrap strings as game UI code. 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/QuartzUIPagePolicy.h#L6)
Complete header
Source snapshot, not an additional example. Unreal annotations distinguish exposed Blueprint nodes from native-only/private methods.
#pragma once
#include "CoreMinimal.h"
/** Builds browser-side behavior applied to every QuartzUI document after load. */
class QUARTZUIRUNTIME_API FQuartzUIPagePolicy final
{
public:
/**
* Returns an idempotent script that installs the game-UI interaction policy.
* Normal document text is non-selectable by default; editable controls and
* elements marked data-quartzui-selectable remain selectable.
*/
static FString MakeInitializationScript(bool bAllowTextSelection);
};