DocsGRADEReference

Blueprint API

23 min read

On this page

Every Blueprint-callable function of GRADE, generated from the C++ headers. Usage and examples: Animation, Sequencer and Gameplay.

GRADE Library (static nodes)

Static Blueprint nodes. Nodes with a Volume pin use the main volume (the enabled unbound volume with the highest priority) when it is left empty.

Set Layer Parameter

Callable node, category GRADE.

Sets a numeric value of a layer by its dotted path, e.g. "Develop.Light.Exposure", "Effects.Vignette.Amount", "HSL.Red.Saturation", "Mask.Center.X", "Effects.Grain.Enabled" (bools: >= 0.5 is on). See FindParameterPaths. In a game world (also PIE) a volume that uses a preset first copies the preset's layers (and tonemapper) into its own and stops using the preset, so the shared asset is never changed at runtime. In the editor it edits the preset asset when one is set (like the Studio). Returns false when the volume, layer or path is invalid.

C++
bool SetLayerParameter(AGradeVolume* Volume, int32 LayerIndex, FName ParameterPath, float Value)

Get Layer Parameter

Pure node, category GRADE.

Reads a numeric value of a layer by its dotted path (bools read 0 or 1). Returns false when invalid.

C++
bool GetLayerParameter(AGradeVolume* Volume, int32 LayerIndex, FName ParameterPath, float& Value)

Set Layer Opacity

Callable node, category GRADE.

Sets the opacity (0..1) of a layer. Same preset rules as SetLayerParameter.

C++
bool SetLayerOpacity(AGradeVolume* Volume, int32 LayerIndex, float Opacity)

Set Layer Enabled

Callable node, category GRADE.

Turns a layer on or off. Same preset rules as SetLayerParameter.

C++
bool SetLayerEnabled(AGradeVolume* Volume, int32 LayerIndex, bool bInEnabled)

Apply Preset

Callable node, category GRADE.

Smoothly changes the volume's look to Preset over BlendTime seconds (null = back to the volume's own layers; 0 = instant).

C++
void ApplyPreset(AGradeVolume* Volume, UGradePreset* Preset, float BlendTime = 1.0f)

Pulse Preset

Callable node, category GRADE|Pulse.

Flashes every layer of a preset over the current look (fade in, hold, fade out; Hold < 0 = until StopPulse). Returns the pulse id (0 = failed).

C++
int32 PulsePreset(const UObject* WorldContextObject, UGradePreset* Preset, float FadeIn = 0.1f, float Hold = 0.2f, float FadeOut = 0.5f, float Strength = 1.0f)

Pulse Layer

Callable node, category GRADE|Pulse.

Flashes one layer over the current look. Returns the pulse id (0 = failed).

C++
int32 PulseLayer(const UObject* WorldContextObject, const FGradeLayer& Layer, float FadeIn = 0.1f, float Hold = 0.2f, float FadeOut = 0.5f, float Strength = 1.0f)

Stop Pulse

Callable node, category GRADE|Pulse.

Fades a running pulse out over FadeOut seconds.

C++
void StopPulse(const UObject* WorldContextObject, int32 PulseId, float FadeOut = 0.3f)

Set Trims

Callable node, category GRADE.

Global trims on top of every layer of the volume: exposure in stops, the rest -100..100 (keyable in Sequencer as Trim*).

C++
void SetTrims(AGradeVolume* Volume, float Exposure, float Contrast, float Saturation, float Temperature, float Tint, float Vibrance)

Get Main Volume

Pure node, category GRADE.

The enabled unbound volume with the highest priority (the level's main look), or null.

C++
AGradeVolume* GetMainVolume(const UObject* WorldContextObject)

Spawn Grade Volume

Callable node, category GRADE.

Spawns a GRADE Volume at the world origin (unbound = affects the whole level).

C++
AGradeVolume* SpawnGradeVolume(const UObject* WorldContextObject, bool bUnbound = true)

Find Parameter Paths

Pure node, category GRADE.

Every valid parameter path of a layer (numeric values only), for UI and validation.

C++
TArray<FString> FindParameterPaths()

Set Actor Grade Mask

Callable node, category GRADE|Mask.

Adds the actor to (or removes it from) GRADE Object masks: turns Render CustomDepth Pass on/off on every primitive component of the actor and sets their Custom Depth Stencil Value (1..255; 0 when disabling). Layers whose Object mask matches that stencil value (or any object, without Use Stencil) then grade only this actor. Requires the project's Custom Depth-Stencil Pass to be 'Enabled with Stencil' (see IsCustomDepthStencilEnabled). Returns the number of components changed.

C++
int32 SetActorGradeMask(AActor* Actor, bool bEnable, int32 StencilValue = 1)

Is Custom Depth Stencil Enabled

Pure node, category GRADE|Mask.

True when the project renders Custom Depth with stencil (r.CustomDepth = 3), needed by Object masks.

C++
bool IsCustomDepthStencilEnabled()

Set Transition Progress

Callable node, category GRADE|Transition.

Sets the camera transition of the volume: 0 = clear picture .. 1 = fully transitioned (black, colour, gone). Drive it from Sequencer (an event track or a Blueprint float exposed to cinematics), a timeline or gameplay. The transition type, colour and softness come from the layer's Transition settings. Returns false when no volume was found.

C++
bool SetTransitionProgress(const UObject* WorldContextObject, float Progress, AGradeVolume* Volume = nullptr)

Play Transition

Latent node, category GRADE|Transition.

Plays a camera transition of Type over Duration seconds (game time, eased in and out) and continues when it is done: Progress runs 0 -> 1 (out to Color), or 1 -> 0 with Reverse (back in). Duration <= 0 jumps to the end. Calling it again on the same node restarts it. Typical cut: Play Transition (Dip to Colour, 0.4 s), change the camera, Play Transition (same type, Reverse). Volume = None uses the main volume.

C++
void PlayTransition(const UObject* WorldContextObject, EGradeTransitionType Type, float Duration, FLinearColor Color, bool bReverse, AGradeVolume* Volume, FLatentActionInfo LatentInfo)

Add Target

Callable node, category GRADE|Targets.

Adds Actor as a HUD / censor target of the volume's Targets effect (the top-most enabled layer with Targets on; Targets is switched on in the top layer when no layer has it). An actor that is already a target there is updated instead. Up to 16 targets are drawn per view. Needs Custom Depth-Stencil Pass = 'Enabled with Stencil' (r.CustomDepth=3) for tight boxes and censor masks (otherwise boxes follow the actor bounds). Returns the target's index in that layer (-1 = failed).

C++
int32 AddTarget(const UObject* WorldContextObject, AActor* Actor, const FString& Title = FString(TEXT("TARGET")), const FString& Subtitle = FString(TEXT("")), EGradeTargetMode Mode = EGradeTargetMode::Box, FLinearColor Color = FLinearColor(1.0f, 0.25f, 0.2f), AGradeVolume* Volume = nullptr)

Remove Target

Callable node, category GRADE|Targets.

Removes Actor from the Targets lists of every layer of the volume. Returns the number of entries removed.

C++
int32 RemoveTarget(const UObject* WorldContextObject, AActor* Actor, AGradeVolume* Volume = nullptr)

Set Target Labels

Callable node, category GRADE|Targets.

Changes the HUD title / subtitle of Actor in every Targets list of the volume, and on its GRADE Target component when it has one. Returns false when the actor is not a target of the volume and has no GRADE Target component.

C++
bool SetTargetLabels(const UObject* WorldContextObject, AActor* Actor, const FString& Title, const FString& Subtitle, AGradeVolume* Volume = nullptr)

Set Bodycam Battery

Callable node, category GRADE|Bodycam.

Sets the bodycam HUD battery level (0..100) of the top-most layer with Bodycam on. Returns false when no layer has Bodycam on.

C++
bool SetBodycamBattery(const UObject* WorldContextObject, float BatteryLevel, AGradeVolume* Volume = nullptr)

Set Player Health

Callable node, category GRADE|Game.

Player health 0..1 (1 = healthy): tunnel vision, heartbeat pulse and desaturation grow as it falls (Player Status).

C++
bool SetPlayerHealth(const UObject* WorldContextObject, float Health, AGradeVolume* Volume = nullptr)

Add Blood

Callable node, category GRADE|Game.

Adds blood on the screen (0..100 scale, added to what is there) for a hit. The blood then dries and fades to nothing over the layer's Blood Dry Time (a trigger pulse restarted by every hit). Negative amounts wipe blood off.

C++
bool AddBlood(const UObject* WorldContextObject, float Amount = 35.0f, AGradeVolume* Volume = nullptr)

Set Panic

Callable node, category GRADE|Game.

Panic 0..100: desaturation and crushed contrast with a heartbeat at low health (Player Status).

C++
bool SetPanic(const UObject* WorldContextObject, float Panic, AGradeVolume* Volume = nullptr)

Set Eyes Closed

Callable node, category GRADE|Game.

Eyes closing 0 (open) .. 100 (closed): eyelids with blur and dark, for death, fainting or waking up (Player Status).

C++
bool SetEyesClosed(const UObject* WorldContextObject, float EyesClosed, AGradeVolume* Volume = nullptr)

Set Poison

Callable node, category GRADE|Game.

Poison 0..100: green tint, wobbling double image and chromatic swimming (Player Status).

C++
bool SetPoison(const UObject* WorldContextObject, float Poison, AGradeVolume* Volume = nullptr)

Set Sanity

Callable node, category GRADE|Game.

Sanity 0..1 (1 = sane): colour drains, the image warps and shadows creep in at the edges as it falls (Gameplay Dynamics).

C++
bool SetSanity(const UObject* WorldContextObject, float Sanity, AGradeVolume* Volume = nullptr)

Set Detection

Callable node, category GRADE|Game.

Stealth detection 0 (hidden: dark cool vignette) .. 1 (detected: red alert pulse) (Gameplay Dynamics).

C++
bool SetDetection(const UObject* WorldContextObject, float Detection, AGradeVolume* Volume = nullptr)

Set Speed Amount

Callable node, category GRADE|Game.

Speed 0..1 for the speed effect (e.g. velocity / max speed of the vehicle or character) (Speed).

C++
bool SetSpeedAmount(const UObject* WorldContextObject, float SpeedAmount, AGradeVolume* Volume = nullptr)

Set Beat Pulse

Callable node, category GRADE|Game.

Music beat pulse 0..1 from your audio analysis (used while Beat BPM is 0): zoom kick, exposure and chromatic (Gameplay Dynamics).

C++
bool SetBeatPulse(const UObject* WorldContextObject, float BeatPulse, AGradeVolume* Volume = nullptr)

Set Bullet Time

Callable node, category GRADE|Game.

Bullet time 0..1: cold desaturated image, motion echo trails and radial blur (Combat). Pair it with Set Global Time Dilation.

C++
bool SetBulletTime(const UObject* WorldContextObject, float BulletTime, AGradeVolume* Volume = nullptr)

Pulse Flashbang

Callable node, category GRADE|Game.

Flashbang: white-out with a burned-in afterimage that fades over Duration seconds of game time (Combat Flashbang 1 -> 0).

C++
bool PulseFlashbang(const UObject* WorldContextObject, float Duration = 4.0f, AGradeVolume* Volume = nullptr)

Pulse Impact

Callable node, category GRADE|Game.

Hit feedback: screen kick, chromatic pulse and flash from DirectionDegrees (screen space, 0 = from the right) (Combat Impact 1 -> 0).

C++
bool PulseImpact(const UObject* WorldContextObject, float DirectionDegrees = 0.0f, float Duration = 0.35f, AGradeVolume* Volume = nullptr)

Pulse Shockwave

Callable node, category GRADE|Game.

Shockwave: a refracting ring spreading from ScreenCenter (view UV, 0.5 / 0.5 = centre) over Duration seconds (Combat Shockwave 0 -> 1).

C++
bool PulseShockwave(const UObject* WorldContextObject, FVector2D ScreenCenter, float Duration = 0.8f, AGradeVolume* Volume = nullptr)

Pulse Water Exit

Callable node, category GRADE|Game.

Leaving the water: drops and streaks run down the lens and clear over Duration seconds (Weather in Water Exit mode, Event Progress 1 -> 0).

C++
bool PulseWaterExit(const UObject* WorldContextObject, float Duration = 3.0f, AGradeVolume* Volume = nullptr)

Callable node, category GRADE|Photo Mode.

Photo mode logo / watermark: LogoTexture at Anchor (Auto (free corner) picks the corner with the least detail and keeps it stable), LogoSize as a fraction of the frame height. A null texture removes the logo. Overlays are switched on if needed.

C++
bool SetOverlayLogo(const UObject* WorldContextObject, UTexture2D* LogoTexture, EGradeOverlayAnchor Anchor = EGradeOverlayAnchor::AutoFreeCorner, float LogoSize = 0.08f, AGradeVolume* Volume = nullptr)

Add Sticker

Callable node, category GRADE|Photo Mode.

Adds a sticker (any texture, alpha = shape) centred at Position (view UV), StickerSize as a fraction of the frame height, rotated by Rotation degrees, with a white die-cut outline. Up to 8 stickers per layer. Returns the sticker index (-1 = failed or full).

C++
int32 AddSticker(const UObject* WorldContextObject, UTexture2D* StickerTexture, FVector2D Position, float StickerSize = 0.15f, float Rotation = 0.0f, AGradeVolume* Volume = nullptr)

Clear Stickers

Callable node, category GRADE|Photo Mode.

Removes every sticker from every layer of the volume. Returns the number removed.

C++
int32 ClearStickers(const UObject* WorldContextObject, AGradeVolume* Volume = nullptr)

Set Frame Style

Callable node, category GRADE|Photo Mode.

Photo mode frame: one of the built-in styles (None = no frame), or Custom (texture) with CustomFrame (alpha 0 = picture shows through).

C++
bool SetFrameStyle(const UObject* WorldContextObject, EGradeFrameStyle Style, UTexture2D* CustomFrame = nullptr, AGradeVolume* Volume = nullptr)

Set Portal Open

Callable node, category GRADE|Game.

Opens (1) or closes (0) the Supernatural portal: the oval opening grows from its centre, the rim and the sparks follow. Animate it from a timeline. When the portal was off it is switched on with Portal 70 (Supernatural).

C++
bool SetPortalOpen(const UObject* WorldContextObject, float PortalOpen, AGradeVolume* Volume = nullptr)

Set Weather Intensity

Callable node, category GRADE|Game.

Weather strength 0..100 (storm build-up / calm down) in the layer's weather mode; Weather is switched on (Blizzard) if needed.

C++
bool SetWeatherIntensity(const UObject* WorldContextObject, float Intensity, AGradeVolume* Volume = nullptr)

Set Accessibility Filter

Callable node, category GRADE|Accessibility.

The player's colour-blind filter (daltonize) for every view of the game: Protan / Deutan / Tritan with Strength 0..1, None = off. It lasts for the game instance (all levels); save the player's choice with your settings and call this at startup. In the editor without a game running it previews the filter in the level viewports (GRADE Studio: Monitor > Colour vision).

C++
void SetAccessibilityFilter(const UObject* WorldContextObject, EGradeAccessibilityFilter Filter, float Strength = 1.0f)

Get Accessibility Filter

Pure node, category GRADE|Accessibility.

The filter Set Accessibility Filter applies (None when off) and its strength.

C++
EGradeAccessibilityFilter GetAccessibilityFilter(const UObject* WorldContextObject, float& Strength)

Set Color Vision Simulation

Callable node, category GRADE|Accessibility.

Simulates a colour vision deficiency in the viewer (Normal = off) for accessibility checks; Severity 0.1..1 for the -anomaly types; bSplit shows normal vision on the left half. Never in GRADE captures, screenshots, scene captures or the scopes.

C++
void SetColorVisionSimulation(const UObject* WorldContextObject, EGradeColorVision Type, float Severity = 0.6f, bool bSplit = false)

Get Color Vision Simulation

Pure node, category GRADE|Accessibility.

The colour vision simulation of the world (Type Normal = off).

C++
FGradeColorVisionSimulation GetColorVisionSimulation(const UObject* WorldContextObject)

GRADE Subsystem (world)

Get it with Get GRADE Subsystem (a world subsystem).

Set Bypass

Callable node, category GRADE.

Turns live grading off for this world (before/after comparison). The console variable grade.Enabled affects every world.

C++
void SetBypass(bool bInBypass)

Is Bypassed

Pure node, category GRADE.

C++
bool IsBypassed()

Get Volumes

Callable node, category GRADE.

Every GRADE Volume of the world, lowest priority first.

C++
TArray<AGradeVolume*> GetVolumes()

Get Main Volume

Callable node, category GRADE.

The enabled unbound volume with the highest priority (the level's main look), or null.

C++
AGradeVolume* GetMainVolume()

Set Compare Mode

Callable node, category GRADE.

C++
void SetCompareMode(EGradeCompareMode InMode)

Get Compare Mode

Pure node, category GRADE.

C++
EGradeCompareMode GetCompareMode()

Set Split Position

Callable node, category GRADE.

Position of the split line, 0 (left) .. 1 (right).

C++
void SetSplitPosition(float InPosition)

Get Split Position

Pure node, category GRADE.

C++
float GetSplitPosition()

Set Compare Content

Callable node, category GRADE.

What the split and the Before compare mode compare (default Whole Volume: GRADE on / off).

C++
void SetCompareContent(EGradeCompareContent InContent)

Get Compare Content

Pure node, category GRADE.

C++
EGradeCompareContent GetCompareContent()

Set Monitor Overlay

Callable node, category GRADE.

C++
void SetMonitorOverlay(EGradeMonitorOverlay InOverlay)

Get Monitor Overlay

Pure node, category GRADE.

C++
EGradeMonitorOverlay GetMonitorOverlay()

Set Zebra Threshold

Callable node, category GRADE.

Zebra threshold, 0..1 of display white (default 0.95).

C++
void SetZebraThreshold(float InThreshold)

Get Gpu Time Ms

Pure node, category GRADE.

GPU time of GRADE's passes in the last measured frame (ms), or a negative value when timing is unavailable.

C++
float GetGpuTimeMs()

Is Tonemapper Active

Pure node, category GRADE.

True when GRADE's tonemapper is active in a view of this world this frame.

C++
bool IsTonemapperActive()

Set Frame Overlay

Callable node, category GRADE.

Shown in editor/game views (not in captures). Letterbox burned into the final image is AGradeVolume::LetterboxAspect.

C++
void SetFrameOverlay(const FGradeFrameOverlay& InOverlay)

Get Frame Overlay

Pure node, category GRADE.

C++
FGradeFrameOverlay GetFrameOverlay()

Is Custom Depth Stencil Enabled

Pure node, category GRADE.

True when the project renders Custom Depth with stencil (r.CustomDepth == 3), needed by Object masks.

C++
bool IsCustomDepthStencilEnabled()

Set Color Vision Simulation

Callable node, category GRADE|Accessibility.

Simulates a colour vision deficiency in this world's viewer views (editor viewports, PIE, game viewports). A viewing aid: never in GRADE captures, high resolution screenshots, scene captures, offline renders or the scopes. Applied after the accessibility filter, so simulation + matching filter shows what a colour-blind player sees with the filter on.

C++
void SetColorVisionSimulation(const FGradeColorVisionSimulation& InSimulation)

Get Color Vision Simulation

Pure node, category GRADE|Accessibility.

C++
FGradeColorVisionSimulation GetColorVisionSimulation()

Set Accessibility Filter Preview

Callable node, category GRADE|Accessibility.

Previews the in-game accessibility filter in this world's viewer views (GRADE Studio's Monitor). Viewer only, like the simulation; while set it wins over the game's filter (UGradeAccessibilitySubsystem) in those views.

C++
void SetAccessibilityFilterPreview(const FGradeAccessibilityFilter& InFilter)

Get Accessibility Filter Preview

Pure node, category GRADE|Accessibility.

C++
FGradeAccessibilityFilter GetAccessibilityFilterPreview()

Get Accessibility Filter

Pure node, category GRADE|Accessibility.

The game's accessibility filter applied to this world (set through UGradeAccessibilitySubsystem / the GRADE Library).

C++
FGradeAccessibilityFilter GetAccessibilityFilter()

Set Filter

Callable node, category GRADE|Accessibility.

Sets the filter for every view of the game (Strength 0..1; None = off).

C++
void SetFilter(EGradeAccessibilityFilter InMode, float InStrength = 1.0f)

Get Filter

Pure node, category GRADE|Accessibility.

C++
FGradeAccessibilityFilter GetFilter()

Monitor Overlay (EGradeMonitorOverlay)

ValueMeaning
None-
False ColorCinema false colour: exposure zones from crushed blacks (purple) through middle grey (green) to clipping (red).
ZebraZebra stripes over pixels above the zebra threshold.
ClippingBlue over clipped blacks, red over clipped whites.
HDR NitsHDR false colour by nits (0.1 / 100 / 203 / 600 / 1000 / 4000+ bands, magenta at the peak).
HDR Above PeakZebra over pixels at or above Peak Nits.
HDR Preview on SDRSDR rendition of the HDR master (preview HDR highlights on an SDR monitor).

Compare Mode (EGradeCompareMode)

How the viewport compares the graded image with the original.

ValueMeaning
Off-
SplitOriginal on the left of the split line, graded on the right.
BeforeThe full Before view of the compare content (SetCompareContent) in the main views: the whole frame shows what the left of the split shows. Whole Volume uses SetBypass instead (real off). Captures never use it (the capture runs force the compare mode off).

Compare Content (EGradeCompareContent)

What the compare views (split, Before) compare: the left of the split line / the Before view keeps the rest of GRADE.

ValueMeaning
Whole VolumeGRADE on / off: the left of the line shows the level as if no GRADE Volume existed (engine tonemapper, no effect, no colour).
ColourOnly the colour differs: the left keeps every GRADE effect (scene, lens, pre and post colour) without the nodes' colour, HDR zones and GRADE's tonemapper.
EffectsOnly the effects differ: the left keeps the colour grade (nodes, HDR zones, tonemapper) without any effect.
TonemapperOnly GRADE's tonemapper differs: the left shows everything through the engine tonemapper.

Accessibility Filter (EGradeAccessibilityFilter)

The in-game accessibility filter (daltonize): shifts the colour differences a deficiency hides into ones it can see.

ValueMeaning
None-
Protan (red-weak)For protanopia / protanomaly (red-weak players).
Deutan (green-weak)For deuteranopia / deuteranomaly (green-weak players, the most common).
Tritan (blue-weak)For tritanopia / tritanomaly (blue-weak players).

GRADE Pulse Subsystem (world)

Runs pulses: layers flashed over the current look.

Add Pulse

Callable node, category GRADE|Pulse.

Adds a layer for FadeIn + Hold + FadeOut seconds (Hold < 0 = until StopPulse). Returns an id.

C++
int32 AddPulse(const FGradeLayer& Layer, float FadeIn = 0.1f, float Hold = 0.2f, float FadeOut = 0.5f, float Strength = 1.0f)

Add Preset Pulse

Callable node, category GRADE|Pulse.

Same with every layer of a preset.

C++
int32 AddPresetPulse(UGradePreset* Preset, float FadeIn = 0.1f, float Hold = 0.2f, float FadeOut = 0.5f, float Strength = 1.0f)

Set Pulse Strength

Callable node, category GRADE|Pulse.

Changes the strength of a running pulse (e.g. driven by health).

C++
void SetPulseStrength(int32 PulseId, float Strength)

Stop Pulse

Callable node, category GRADE|Pulse.

C++
void StopPulse(int32 PulseId, float FadeOut = 0.3f)

Stop All Pulses

Callable node, category GRADE|Pulse.

C++
void StopAllPulses(float FadeOut = 0.3f)

Is Pulse Active

Pure node, category GRADE|Pulse.

True while the pulse with this id is running (fading in, holding or fading out).

C++
bool IsPulseActive(int32 PulseId)

Get Num Active Pulses

Pure node, category GRADE|Pulse.

Number of running pulses.

C++
int32 GetNumActivePulses()

GRADE Volume (actor)

Functions on a GRADE Volume reference.

Blend To Preset

Callable node, category GRADE|Animation.

Smoothly changes the look to Target over Duration seconds (game time; works in editor viewports too).

C++
void BlendToPreset(UGradePreset* Target, float Duration = 1.0f)

Is Blending

Pure node, category GRADE|Animation.

C++
bool IsBlending()

Get Weight At

Pure node, category GRADE.

Weight (0..1) of this volume for a camera at ViewLocation.

C++
float GetWeightAt(FVector ViewLocation)

GRADE Target (component)

Set Labels

Callable node, category GRADE Target.

Changes the HUD title and subtitle at runtime.

C++
void SetLabels(const FString& NewTitle, const FString& NewSubtitle)

GRADE Capture Point (actor)

Get View Camera

Pure node, category GRADE Capture.

The camera the captures use: LinkedCamera's camera component when it has one, otherwise this point's own camera.

C++
UCameraComponent* GetViewCamera()

Pure node, category GRADE Capture.

LinkedCamera is set but gone or has no camera component (the point falls back to its own camera).

C++
bool HasBrokenCameraLink()

Get Capture Name

Pure node, category GRADE Capture.

Point name used for folders and files (sanitised).

C++
FString GetCaptureName()

Get Camera

Pure node, category GRADE Capture.

C++
UCameraComponent* GetCamera()

GRADE Capture Library

Runtime captures from capture points (PIE and packaged games).

Capture From Point

Callable node, category GRADE Capture.

Renders the view of a capture point into a PNG (Width x Height) in its captures folder. Works in PIE and in packaged games. Uses a scene capture, so the result can differ slightly from the editor viewport captures (Lumen and temporal effects have less history to converge). Returns false if nothing was written.

C++
bool CaptureFromPoint(const UObject* WorldContext, AGradeCapturePoint* Point, int32 Width, int32 Height, FString& OutPath)

Capture All Points

Callable node, category GRADE Capture.

Captures every enabled capture point of the world (optionally only one group; None = all groups), in SortOrder. Returns the number of files written.

C++
int32 CaptureAllPoints(const UObject* WorldContext, int32 Width, int32 Height, FName Group, TArray<FString>& OutPaths)

Get Capture Points

Callable node, category GRADE Capture.

Enabled and disabled capture points of the world, sorted by SortOrder then name (None = all groups).

C++
TArray<AGradeCapturePoint*> GetCapturePoints(const UObject* WorldContext, FName Group)

Get Capture Root

Pure node, category GRADE Capture.

Absolute path of the captures root: Project/Saved/GRADE/Captures.

C++
FString GetCaptureRoot()

Get Point Folder

Pure node, category GRADE Capture.

Absolute folder of one point's captures in the current level: Root/Levels/Level/CaptureName. The level is the level being edited in the editor, else the running game's level. Use GetPointFolderForWorld to name the world.

C++
FString GetPointFolder(const FString& CaptureName)

Get Point Folder For World

Pure node, category GRADE Capture.

Absolute folder of one point's captures in the level of WorldContext's world: Root/Levels/Level/CaptureName.

C++
FString GetPointFolderForWorld(const UObject* WorldContext, const FString& CaptureName)

Get Level Capture Folder

Pure node, category GRADE Capture.

Absolute folder of every capture of the level of WorldContext's world: Root/Levels/Level.

C++
FString GetLevelCaptureFolder(const UObject* WorldContext)

Make Level Folder Name

Pure node, category GRADE Capture.

Captures folder name of a level from its package path or map name: "/Game/Maps/Lvl_Forest" -> "Lvl_Forest". The play-in-editor prefix is removed, an unsaved map gives "Untitled" and characters a folder cannot hold become "_".

C++
FString MakeLevelFolderName(const FString& MapPackageOrName)

GRADE Image Processor

Grade any texture with a layer stack into render targets.

Process Texture

Callable node, category GRADE.

Applies Layers to Source on the GPU (asynchronously, on the render thread). OutputHDR: linear RGBA16F result (EXR export). OutputDisplay: sRGB 8-bit result (screen, PNG). When both are given they must have the same size; that size is the processing resolution. OutputProxy: optional small display copy (scopes). Returns false when nothing could be queued.

C++
bool ProcessTexture(UTexture* Source, const TArray<FGradeLayer>& Layers, UTextureRenderTarget2D* OutputHDR, UTextureRenderTarget2D* OutputDisplay, UTextureRenderTarget2D* OutputProxy = nullptr)

Apply Preset

Callable node, category GRADE.

Same as ProcessTexture with the layers of a preset.

C++
bool ApplyPreset(UTexture* Source, const UGradePreset* Preset, UTextureRenderTarget2D* OutputHDR, UTextureRenderTarget2D* OutputDisplay)

Create Output Target

Callable node, category GRADE.

Creates a render target for ProcessTexture: linear RGBA16F (bDisplay false) or sRGB RGBA8 (bDisplay true).

C++
UTextureRenderTarget2D* CreateOutputTarget(UObject* Outer, int32 Width, int32 Height, bool bDisplay)

GRADE Aurora Library

Apply an Aurora shape or palette preset to an Aurora struct.

Apply Aurora Shape

Pure node, category GRADE|Aurora.

Returns Aurora with the values of the Shape preset applied (folds, rays, band, motion). Custom keeps the current values.

C++
FGradeAurora ApplyAuroraShape(const FGradeAurora& Aurora, EGradeAuroraShape Shape)

Apply Aurora Palette

Pure node, category GRADE|Aurora.

Returns Aurora with the three altitude colours of the Palette preset applied. Custom keeps the current colours.

C++
FGradeAurora ApplyAuroraPalette(const FGradeAurora& Aurora, EGradeAuroraPalette Palette)

GRADE Aspect Ratio Library

Aspect Ratio presets: value, family, target ratio and picture rectangle.

Get Aspect Ratio Preset Value

Pure node, category GRADE|Aspect Ratio.

Width / height of an Aspect Ratio preset (2.39 for 2.39:1 Scope, 0.5625 for 9:16). Custom returns 0 (its value is in the effect's Custom Width / Custom Height).

C++
float GetAspectRatioPresetValue(EGradeCinemaAspectPreset Preset)

Get Aspect Ratio Preset Category

Pure node, category GRADE|Aspect Ratio.

Family of an Aspect Ratio preset (Cinema, Broadcast & Streaming, Camera Sensors & Film, Photo, Social & Vertical, Video Games).

C++
EGradeCinemaAspectCategory GetAspectRatioPresetCategory(EGradeCinemaAspectPreset Preset)

Get Aspect Ratio Target

Pure node, category GRADE|Aspect Ratio.

Width / height the Aspect Ratio effect frames to (the preset's value, or Custom Width / Custom Height).

C++
float GetAspectRatioTarget(const FGradeCinemaAspect& AspectRatio)

Get Aspect Ratio Picture Rect

Pure node, category GRADE|Aspect Ratio.

Visible picture inside a view of ViewSize pixels (top-left PictureMin, bottom-right PictureMax, whole pixels) with the bars of AspectRatio drawn (Amount, Offset and Fit applied). Without bars it is the whole view.

C++
void GetAspectRatioPictureRect(const FGradeCinemaAspect& AspectRatio, FVector2D ViewSize, FVector2D& PictureMin, FVector2D& PictureMax)

Cinema Aspect Category (EGradeCinemaAspectCategory)

Family of an Aspect Ratio preset (groups of the preset menu).

ValueMeaning
CinemaTheatrical film and digital cinema formats.
Broadcast & StreamingTelevision and streaming deliveries.
Camera Sensors & FilmRecording areas of cinema cameras and film gauges.
PhotoStills film, sensors, prints and panoramas.
Social & VerticalSocial feeds, phones and vertical video.
Video GamesMonitors, consoles, handhelds and cinematic game framing.
CustomYour own ratio.

GRADE Mask Library

Layer masks from Blueprint: the mask stack (extra components with op and opacity), Actors masks, enable / density / feather / expand and clipping. Mask index 0 = the layer's base mask, k = extra mask k.

Add Extra Mask

Callable node, category GRADE|Mask.

Appends a component to a layer's mask stack. Returns its mask index (1 = first extra component), or -1 when the layer does not exist.

C++
int32 AddExtraMask(AGradeVolume* Volume, int32 LayerIndex, const FGradeMaskLayer& MaskLayer)

Remove Extra Mask

Callable node, category GRADE|Mask.

Removes an extra component (MaskIndex >= 1).

C++
bool RemoveExtraMask(AGradeVolume* Volume, int32 LayerIndex, int32 MaskIndex)

Set Extra Mask

Callable node, category GRADE|Mask.

Replaces an extra component (MaskIndex >= 1).

C++
bool SetExtraMask(AGradeVolume* Volume, int32 LayerIndex, int32 MaskIndex, const FGradeMaskLayer& MaskLayer)

Set Mask Component

Callable node, category GRADE|Mask.

Replaces the mask of a component (MaskIndex 0 = the base mask).

C++
bool SetMaskComponent(AGradeVolume* Volume, int32 LayerIndex, int32 MaskIndex, const FGradeMask& Mask)

Get Mask Stack

Pure node, category GRADE|Mask.

The base mask and the extra components of a layer (the effective layers: the preset's when the volume uses one).

C++
bool GetMaskStack(AGradeVolume* Volume, int32 LayerIndex, FGradeMask& BaseMask, TArray<FGradeMaskLayer>& ExtraMasks)

Set Mask Actors

Callable node, category GRADE|Mask.

Makes a component an Actors mask selecting these actors (and every actor with ActorTag, None = off). Needs Project Settings > Rendering > Custom Depth-Stencil Pass = Enabled with Stencil (GRADE writes stencil values 216..240 on them while the mask is used).

C++
bool SetMaskActors(AGradeVolume* Volume, int32 LayerIndex, int32 MaskIndex, const TArray<AActor*>& SelectedActors, FName ActorTag, bool bIncludeAttached = true)

Set Mask Enabled

Callable node, category GRADE|Mask.

Turns a layer's whole mask on / off (off = the layer applies everywhere; clipping still applies).

C++
bool SetMaskEnabled(AGradeVolume* Volume, int32 LayerIndex, bool bMaskOn)

Set Mask Refine

Callable node, category GRADE|Mask.

Density (0..1), feather (pixels at 1080 lines, 0..64) and expand (-1 choke .. 1 spread) of a layer's final mask.

C++
bool SetMaskRefine(AGradeVolume* Volume, int32 LayerIndex, float Density = 1.0f, float Feather = 0.0f, float Expand = 0.0f)

Set Clip To Below

Callable node, category GRADE|Mask.

Clipping node: the layer's final mask is multiplied by the final mask of the nearest non-clipped node below it.

C++
bool SetClipToBelow(AGradeVolume* Volume, int32 LayerIndex, bool bClip)

Make Actors Mask Layer

Pure node, category GRADE|Mask.

A mask component selecting actors (for Add Extra Mask).

C++
FGradeMaskLayer MakeActorsMaskLayer(const TArray<AActor*>& SelectedActors, FName ActorTag, EGradeMaskOp Op = EGradeMaskOp::Add, bool bIncludeAttached = true)

Evaluate Layer Mask

Pure node, category GRADE|Mask.

CPU value (0..1) of a layer's final mask at a view UV (0, 0 top-left) over a pixel of BaseColor (display-encoded): 2D components, screen paint and screen noise are exact; scene components (Actors, Normal, Depth...) are 1 and Feather is ignored on the CPU.

C++
float EvaluateLayerMask(AGradeVolume* Volume, int32 LayerIndex, FVector2D UV, FLinearColor BaseColor, float Aspect = 1.7778f)

GRADE Fog Library (Volumetrics)

Static nodes of GRADE Volumetrics: built-in presets, randomize, the volumetric fog diagnostics, the global quality and fog bursts. See GRADE Volumetrics.

Get Builtin Presets

Pure node, category GRADE|Volumetrics.

Every built-in preset (at least 16), in gallery order.

C++
TArray<FGradeFogPresetInfo> GetBuiltinPresets()

Find Builtin Preset

Pure node, category GRADE|Volumetrics.

Finds a built-in preset by id.

C++
bool FindBuiltinPreset(FName PresetId, FGradeFogPresetInfo& OutPreset)

Randomize Fog Settings

Pure node, category GRADE|Volumetrics.

The randomized copy of Settings for a seed (see GradeFogMath::RandomizeLook).

C++
FGradeFogSettings RandomizeFogSettings(const FGradeFogSettings& Settings, int32 Seed)

Get Volumetric Fog Diagnostics

Callable node, category GRADE|Volumetrics.

Why volumetric fog may be invisible in this world (no height fog, volumetric fog off, Shadows scalability < High, r.VolumetricFog 0, missing materials).

C++
FGradeFogDiagnostics GetVolumetricFogDiagnostics(const UObject* WorldContextObject)

Set Volumetric Fog CVar

Callable node, category GRADE|Volumetrics.

Forces r.VolumetricFog on (or back off): volumetric fog without changing the Shadows scalability level.

C++
void SetVolumetricFogCVar(bool bEnabled)

Set Volumetric Fog Quality

Callable node, category GRADE|Volumetrics.

Sets the global volumetric fog quality now (until another quality request or the end of the session).

C++
void SetVolumetricFogQuality(const UObject* WorldContextObject, EGradeFogQuality Quality)

Add Fog Burst

Callable node, category GRADE|Volumetrics.

Adds an expanding 2D burst / ring to the fog trails (explosions, landings, spells). Needs a primary GRADE Fog Interactor.

C++
void AddFogBurst(const UObject* WorldContextObject, FVector Location, float Radius = 400.0f, float Duration = 1.0f, float Strength = 1.0f, bool bRing = false)

GRADE Fog Volume (actor)

Functions on a GRADE Fog Volume reference. Every look parameter also has a single setter (Set Fog Float / Color / Vector).

Get Local Position

Pure node, category GRADE|Volumetrics.

Position in the volume's axes, centimetres from its centre (scale not removed: the space of the shape and of the paint plane).

C++
FVector GetLocalPosition(FVector WorldLocation)

Set Fog Settings

Callable node, category GRADE|Volumetrics.

Replaces every look parameter.

C++
void SetFogSettings(const FGradeFogSettings& NewSettings)

Get Fog Settings

Pure node, category GRADE|Volumetrics.

C++
FGradeFogSettings GetFogSettings()

Set Fog Float

Callable node, category GRADE|Volumetrics.

Sets one float parameter (animate any value from Blueprint / timelines).

C++
void SetFogFloat(EGradeFogFloat Parameter, float Value)

Get Fog Float

Pure node, category GRADE|Volumetrics.

Reads one float parameter.

C++
float GetFogFloat(EGradeFogFloat Parameter)

Set Fog Color

Callable node, category GRADE|Volumetrics.

Sets the albedo or emissive colour.

C++
void SetFogColor(EGradeFogColor Parameter, FLinearColor Value)

Set Fog Vector

Callable node, category GRADE|Volumetrics.

Sets the noise size, panning velocity or distortion size.

C++
void SetFogVector(EGradeFogVector Parameter, FVector Value)

Set Fog Enabled

Callable node, category GRADE|Volumetrics.

C++
void SetFogEnabled(bool bNewEnabled)

Set Size

Callable node, category GRADE|Volumetrics.

C++
void SetSize(FVector NewSize)

Set Shape

Callable node, category GRADE|Volumetrics.

C++
void SetShape(EGradeFogShape NewShape, float NewEdgeFalloff = 0.35f, bool bNewInvert = false)

Set Density

Callable node, category GRADE|Volumetrics.

C++
void SetDensity(float NewDensity)

Set Albedo

Callable node, category GRADE|Volumetrics.

C++
void SetAlbedo(FLinearColor NewAlbedo)

Set Emissive

Callable node, category GRADE|Volumetrics.

C++
void SetEmissive(FLinearColor NewEmissive, float NewIntensity = 1.0f)

Set Noise Pattern

Callable node, category GRADE|Volumetrics.

C++
void SetNoisePattern(EGradeFogNoise NewPattern)

Set Wind

Callable node, category GRADE|Volumetrics.

C++
void SetWind(FVector NewPanningVelocity, float NewRotationSpeed = 0.0f)

Set Fades

Callable node, category GRADE|Volumetrics.

C++
void SetFades(float NewNearFadeDistance, float NewFarFadeDistance)

Apply Preset Asset

Callable node, category GRADE|Volumetrics.

Applies a preset asset (keeps Size; Blueprint / editor).

C++
void ApplyPresetAsset(UGradeFogPreset* PresetAsset)

Apply Builtin Preset By Id

Callable node, category GRADE|Volumetrics.

Applies a built-in preset by id (UGradeFogLibrary::GetBuiltinPresets). Returns false when the id is unknown.

C++
bool ApplyBuiltinPresetById(FName PresetId)

Randomize Look

Callable node, category GRADE|Volumetrics.

Randomizes the look parameters from a seed (deterministic).

C++
void RandomizeLook(int32 Seed)

Get Shape Density At Location

Pure node, category GRADE|Volumetrics.

0..1 density of the shape at a world location (shape, edge falloff, invert and height gradient; no noise).

C++
float GetShapeDensityAtLocation(FVector WorldLocation)

Is Location In Fog

Pure node, category GRADE|Volumetrics.

True when a world location is inside the fog shape (density > 0.01).

C++
bool IsLocationInFog(FVector WorldLocation)

Get World Half Size

Pure node, category GRADE|Volumetrics.

World half size of the box (Size / 2 x actor scale).

C++
FVector GetWorldHalfSize()

Update Fog Material

Callable node, category GRADE|Volumetrics.

Pushes every parameter to the material now (normally automatic every frame).

C++
void UpdateFogMaterial()

Get Fog Material Instance

Pure node, category GRADE|Volumetrics.

The material instance in use (null before the first update or when the materials are missing).

C++
UMaterialInstanceDynamic* GetFogMaterialInstance()

Fog Color (EGradeFogColor)

Colour parameters for AGradeFogVolume::SetFogColor.

ValueMeaning
Albedo-
Emissive-

Fog Float (EGradeFogFloat)

Single float parameters for the generic Blueprint setter (AGradeFogVolume::SetFogFloat). Append only.

ValueMeaning
Edge Falloff-
Height Gradient-
Density-
Extinction-
Emissive Intensity-
Noise Contrast-
Noise Coverage-
Noise Multiply-
Noise Octaves-
Rotation Speed-
Distortion Amount-
Distortion Z Amount-
Distortion Speed-
Cling Height-
Cling Contrast-
Self Shadow Amount-
Self Shadow Contrast-
Self Shadow Distance-
Near Fade Distance-
Far Fade Distance-
Noise Lod Distance-
Interaction Strength-
Time Scale-
Custom Time-

Fog Vector (EGradeFogVector)

Vector parameters for AGradeFogVolume::SetFogVector.

ValueMeaning
Noise Size-
Panning Velocity-
Distortion Size-

GRADE Fog Spline (actor)

Functions on a GRADE Fog Spline reference: the spline animation and its look.

Start Animation

Callable node, category GRADE|Volumetrics.

Starts (or restarts) the animation from the beginning.

C++
void StartAnimation()

Stop Animation

Callable node, category GRADE|Volumetrics.

Pauses the animation where it is.

C++
void StopAnimation()

Reset Animation

Callable node, category GRADE|Volumetrics.

Back to progress 0 without playing.

C++
void ResetAnimation()

Is Animation Playing

Pure node, category GRADE|Volumetrics.

C++
bool IsAnimationPlaying()

Set Fog Settings

Callable node, category GRADE|Volumetrics.

Replaces every look parameter of the puffs.

C++
void SetFogSettings(const FGradeFogSettings& NewSettings)

Apply Preset Asset

Callable node, category GRADE|Volumetrics.

C++
void ApplyPresetAsset(UGradeFogPreset* PresetAsset)

Apply Builtin Preset By Id

Callable node, category GRADE|Volumetrics.

C++
bool ApplyBuiltinPresetById(FName PresetId)

Rebuild Puffs

Callable node, category GRADE|Volumetrics.

Rebuilds the puffs from the spline (normally automatic).

C++
void RebuildPuffs()

Get Puff Count

Pure node, category GRADE|Volumetrics.

C++
int32 GetPuffCount()

GRADE Fog Interactor (component)

Set Interaction Enabled

Callable node, category GRADE|Volumetrics.

C++
void SetInteractionEnabled(bool bEnabled)

Set Radius

Callable node, category GRADE|Volumetrics.

C++
void SetRadius(float NewRadius)

Set Cone

Callable node, category GRADE|Volumetrics.

C++
void SetCone(bool bEnabled, float NewLength = 800.0f, float NewAngle = 18.0f)

Set Character Fade Radius

Callable node, category GRADE|Volumetrics.

C++
void SetCharacterFadeRadius(float NewRadius)

GRADE Fog Quality Trigger (actor)

Set Trigger Enabled

Callable node, category GRADE|Volumetrics.

Turns the trigger on / off (off releases its quality request at once).

C++
void SetTriggerEnabled(bool bNewEnabled)

Is Active

Pure node, category GRADE|Volumetrics.

True while the quality of this trigger is requested.

C++
bool IsActive()

GRADE Fog Subsystem (world)

Get it with Get GRADE Fog Subsystem (a world subsystem).

Add Burst

Callable node, category GRADE|Volumetrics.

Adds an expanding burst / ring to the trail texture at a world location.

C++
void AddBurst(FVector Location, float Radius = 400.0f, float Duration = 1.0f, float Strength = 1.0f, bool bRing = false)

GRADE Fog Preset (asset)

Get Preset Name

Pure node, category GRADE|Volumetrics.

Display name or asset name.

C++
FText GetPresetName()

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