DocsGRADEReference

HUD Targets & Censor

4 min read

On this page

HUD boxes with a title and subtitle that tightly follow actors (or parts of them), or pixelate, blur, highlight or redact them. Several targets at once.

Studio categoryHUD & Transitions
Pipeline stagePost Colour (display colour, after the colour nodes)
Default position50 in its stage
Works inLive views only (viewports, PIE, games, Movie Render Queue): needs scene depth or the level
C++ / BlueprintFGradeLayer::Effects.Targets (FGradeTargets)

Manual: HUD Targets & Censor. Every numeric parameter can be set at runtime with Set Layer Parameter using the path shown (see Animation).

Parameters

HUD targets: tight dynamic boxes with labels, pixelate / blur / redact actors or parts of actors (display; uses Custom Depth stencil).

ParameterBlueprint pathValuesDefaultDescription
EnabledEffects.Targets.Enabledon/offoffTurns this on or off (the other values are kept while it is off).
Targetslist of FGradeTargetTargets of this volume / layer. Actors with a Grade Target component are added automatically.
Use Target ComponentsEffects.Targets.UseTargetComponentson/offonInclude actors that carry a Grade Target component (UGradeTargetComponent).
Show DiagnosticsEffects.Targets.ShowDiagnosticson/offoffDraws each target's status on screen (found / not visible / no Custom Depth / no actor) to find out why one does not show.
Show Through WallsEffects.Targets.ShowThroughWallson/offoffOff (default) = censoring only covers the visible part of a target (the scene depth hides what is behind walls) and the box / label fade out while the target is fully hidden; on = the old X-ray behaviour (censor and HUD drawn through walls). Occlusion needs Custom Depth-Stencil = Enabled with Stencil.

HUD

ParameterBlueprint pathValuesDefaultDescription
Box StyleEGradeTargetBoxStyleCorners
Line WidthEffects.Targets.LineWidth0.5..82Box line width in pixels at 1080 lines.
Label ScaleEffects.Targets.LabelScale50..200100Label size, 50..200 %.
Show DistanceEffects.Targets.ShowDistanceon/offoffShow the distance to the target under the subtitle.
Lock On AnimationEffects.Targets.LockOnAnimationon/offonLock-on animation when a target appears (the box snaps in from larger).
SmoothingEffects.Targets.Smoothing0..10030Box smoothing over time, 0..100 (0 = exact every frame).
Label FontfontnoneFont of the labels (any font imported in the project); empty = Roboto, the engine default.
TypewriterEffects.Targets.Typewriteron/offonLabels appear letter by letter as if typed on a keyboard when a target appears, comes back past the middle of the HUD fade or its text changes.
Typewriter SpeedEffects.Targets.TypewriterSpeed5..12030Typing speed in characters per second, 5..120.
Typewriter CursorEffects.Targets.TypewriterCursoron/offonBlinking cursor while typing.
HUD Fade StartEffects.Targets.LabelFadeStart0..1000000 cm0The HUD of a target (its label and its box) starts to fade at this distance from the camera (cm, 0 = never fade). Censoring (pixelate, blur...) never fades.
HUD Fade EndEffects.Targets.LabelFadeEnd0..1000000 cm5000Label and box are fully faded out at this distance (cm). Crossing the middle of the fade towards the camera replays the lock-on and the typewriter; moving back past it erases the label.

Censor

ParameterBlueprint pathValuesDefaultDescription
Pixel SizeEffects.Targets.PixelSize2..6416Pixel size of Pixelate in pixels at 1080 lines.
Blur AmountEffects.Targets.BlurAmount0..10070Blur strength of Blur, 0..100.
Mask GrowEffects.Targets.MaskGrow0..324Grow the censor mask by this many pixels (at 1080 lines) so silhouettes stay hidden.
Uniform PixelationEffects.Targets.UniformPixelationon/offoffKeep the pixelation uniform with distance: the blocks follow the target's size on screen (same number of blocks across it whether near or far) instead of a fixed size in screen pixels.
Pixel BlocksEffects.Targets.PixelBlocks4..64, integer12Uniform pixelation: number of blocks across the target's height, 4..64.

Target (FGradeTarget)

One HUD / censor target: an actor (all its primitive components, or the ones matching Component Filter).

ParameterValuesDefaultDescription
Enabledon/offonTurns this on or off (the other values are kept while it is off).
Actoractor
Component FilternameComponent name or component tag to target only part of the actor (e.g. "Head", a weapon mesh). Empty = whole actor.
ModeEGradeTargetModeBox
Titletext"TARGET"HUD title above the box (empty = none).
SubtitletextHUD subtitle under the title (empty = none).
Colorcolour(1, 0.25, 0.2)
Padding0..648Extra margin around the target in pixels at 1080 lines.
Stencil Value0..255, integer0Target every primitive whose Custom Depth Stencil Value equals this (1..255, with Render CustomDepth Pass on), as set in its Details panel - no actor needed (use 1..199: GRADE uses 200..215 for actor targets). 0 = use Actor / Component Filter. Needs Custom Depth-Stencil Pass = Enabled with Stencil.
LabelEGradeTargetLabelAutoShow the HUD label with any mode (Always) - e.g. a name over a pixelated face.

Entries of this list are not addressable by Blueprint paths; edit them in GRADE Studio, the Details panel or with the dedicated Blueprint helpers.

Enumerations

Target Mode (EGradeTargetMode)

ValueMeaning
BoxHUD box with title / subtitle that tightly follows the target on screen.
PixelatePixelate the target (censor).
BlurBlur the target.
HighlightColoured highlight overlay on the target.
Box + PixelateBox and pixelate.
RedactSolid black bar over the target.
Label onlyLabel only (title / subtitle / distance), no box and no censor.

Target Label (EGradeTargetLabel)

When a target shows its label.

ValueMeaning
AutoBox modes show the label, censor modes do not (as before).
AlwaysAlways show the label, also over pixelated / blurred / redacted / highlighted targets.
Never-

Target Box Style (EGradeTargetBoxStyle)

ValueMeaning
CornersFour corner brackets.
FrameFull rectangle.
RoundedRectangle with rounded corners.
ReticleCorner brackets with a crosshair at the centre.

Generated from the GRADE C++ headers. Back to the reference index.