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
| Name | Type | Default | Meaning |
|---|---|---|---|
OutOrigin | FVector& | — | Ray start, world, cm. |
OutDirection | FVector& | — | Direction; need not be unit length. |
Returns
false to skip this tick: a pointer that is not tracking should stop the brush.