Skip to content
Brass Orrery

Orrery Terrain · Blueprint · Orrery › Terrain › Query

Get Grade Along

Rise over run of the ground along a horizontal direction (0.1 = 10 percent, positive uphill).

Node

Blueprint Get Grade Along
The graph as text
  1. Get Grade Along (function call)
    • In Location (Vector): (0.0, 0.0, 0.0)
    • In Direction (Vector): (0.0, 0.0, 0.0)
    • In Surface (EOrreryTerrainSurface): Modified
    • Out Out Grade (Double): not connected
    • Out Return Value (Boolean): not connected
Palette
Orrery › Terrain › Query
Node
function call
Module
OrreryTerrain

Inputs

PinTypeDefaultMeaning
Exec inExec—Runs the node.
LocationVector0, 0, 0

World cm; Z is ignored.

DirectionVector0, 0, 0

World direction; Z is ignored and the length does not matter.

SurfaceEOrreryTerrainSurfaceModified

Which ground to read (EOrreryTerrainSurface); Modified is the current ground.

Outputs

PinTypeMeaning
Exec outExecRuns next.
Out GradeFloat

Rise over run, positive uphill; 0 when there is no answer.

Return ValueBoolean

false when there is no ground, or the direction has no horizontal part.

How this page is made

Drawn from the C++ declaration’s reflection specifiers, not exported from the editor. Hidden pins, which the editor fills itself: WorldContextObject.

  • WorldContextObject is the world context: hidden where the Blueprint has a world, shown in one without (a function library)