Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainSculptComponent::

GetCustomCursorRay

Supply the cursor ray yourself.

Declaration

UFUNCTION(BlueprintNativeEvent, Category="Orrery|Terrain|Sculpt|Cursor")
bool GetCustomCursorRay(FVector& OutOrigin, FVector& OutDirection) const;
Header
#include "OrreryTerrainSculptComponent.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread. (the rule of UOrreryTerrainSculptComponent)
Blueprint
Overridden in a Blueprint (My Blueprint, Functions, Override); no node of its own.

Description

Called only when CursorSource is Custom.

Parameters

NameTypeDefaultMeaning
OutOriginFVector&—

Ray start, world, cm.

OutDirectionFVector&—

Direction; need not be unit length.

Returns

false to skip this tick: a pointer that is not tracking should stop the brush.