Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainSculptComponent::

GetCustomCursorRay

Supply the cursor ray yourself.

Declaration

UFUNCTION(BlueprintNativeEvent, Category="Orbdale|Terrain|Sculpt|Cursor")
bool GetCustomCursorRay(FVector& OutOrigin, FVector& OutDirection) const;
Header
#include "OrbdaleTerrainSculptComponent.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread. (the rule of UOrbdaleTerrainSculptComponent)
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.