FLandscapeTool

[FLandscapeTool](API\Editor\LandscapeEditor\FLandscapeTool)

Unreal Engine C++ API Reference > Editor > LandscapeEditor

Inheritance Hierarchy

References

   
Module LandscapeEditor
Header /Engine/Source/Editor/LandscapeEditor/Public/LandscapeToolInterface.h
Include #include "LandscapeToolInterface.h"

Syntax

class FLandscapeTool : public [FGCObject](API\Runtime\CoreUObject\UObject\FGCObject)  

Remarks

FLandscapeTool

Variables

Type Name Description
int32 PreviousBrushIndex  
TArray< FName > ValidBrushes  

Constructors

Type Name Description
  FLandscapeTool ()  

Destructors

Type Name Description
  ~FLandscapeTool ()  

Functions

Type Name Description
bool AffectsEditLayers ()  
bool BeginTool ( FEditorViewportClient* Viewpor..., const FLandscapeToolTarget& Target, const FVector& InHitLocation )  
bool CanToolBeActivated ()  
bool DisallowMouseDeltaTracking ()  
void EndTool ( FEditorViewportClient* Viewpor... )  
void EnterTool ()  
void ExitTool ()  
EEditAction:... GetActionEditCopy ()  
EEditAction:... GetActionEditCut ()  
EEditAction:... GetActionEditDelete ()  
EEditAction:... GetActionEditDuplicate ()  
EEditAction:... GetActionEditPaste ()  
bool GetCursor ( EMouseCursor::Type& OutCursor )  
FText GetDisplayMessage ()  
FText GetDisplayName ()  
bool GetOverrideCursorVisibility ( bool& bWantsOverride, bool& bHardwareCursorVisible, bool bSoftwareCursorVisible ) Get override cursor visibility settings
ELandscapeTo... GetSupportedTargetTypes ()  
int32 GetToolActionResolutionDelta () Returns the resolution difference when the Tool action is applied.
const TCHAR ... GetToolName ()  
ELandscapeTo... GetToolType ()  
EAxisList::T... GetWidgetAxisToDraw ( UE::Widget::EWidgetMode InWidgetMod... )  
FVector GetWidgetLocation ()  
FMatrix GetWidgetRotation ()  
bool HandleClick ( HHitProxy* HitProxy, const FViewportClick& Click )  
bool HitTrace ( const FVector& TraceStart, const FVector& TraceEnd, FVector& OutHitLocation )  
bool InputDelta ( FEditorViewportClient* InViewp..., FViewport* InViewport, FVector& InDrag, FRotator& InRot, FVector& InScale )  
bool InputKey ( FEditorViewportClient* InViewp..., FViewport* InViewport, FKey InKey, EInputEvent InEvent )  
bool IsSelectionAllowed ( AActor* InActor, bool bInSelection )  
bool IsToolActive ()  
bool MouseMove ( FEditorViewportClient* Viewpor..., FViewport* Viewport, int32 x, int32 y )  
bool OverrideSelection ()  
bool OverrideWidgetLocation ()  
bool OverrideWidgetRotation ()  
bool PostConvertMouseMovement ( FEditorViewportClient* InViewp... ) Called after mouse movement is converted to drag/rot
bool PreConvertMouseMovement ( FEditorViewportClient* InViewp... ) Called before mouse movement is converted to drag/rot
void Process ( int32 Index, int32 Arg ) Functions which doesn't need Viewport data...
bool ProcessEditCopy ()  
bool ProcessEditCut ()  
bool ProcessEditDelete ()  
bool ProcessEditDuplicate ()  
bool ProcessEditPaste ()  
void Render ( const FSceneView* View, FViewport* Viewport, FPrimitiveDrawInterface* PDI )  
void SetCanToolBeActivated ( bool Value )  
void SetEditRenderType ()  
bool SupportsComponentSelection ()  
bool SupportsMask ()  
void Tick ( FEditorViewportClient* Viewpor..., float DeltaTime )  
bool UseSphereTrace ()  
bool UsesTransformWidget ()  

Overridden from FGCObject

Type Name Description
void AddReferencedObjects ( FReferenceCollector& Collector ) Pure virtual that must be overloaded by the inheriting class.
FString GetReferencerName () Overload this method to report a name for your referencer

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library