FComponentVisualizer

Base class for a component visualizer, that draw editor information for a particular component class

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/ComponentVisualizer.h

Include

#include "ComponentVisualizer.h"

Syntax

class FComponentVisualizer : public TSharedFromThis< FComponentVisualizer >

Remarks

Base class for a component visualizer, that draw editor information for a particular component class

Constructors

Name Description

Public function

FComponentVisualizer()

Destructors

Name Description

Public function Virtual

~FComponentVisualizer()

Functions

Name Description

Public function Virtual

void

 

DrawVisualization

(
    const UActorComponent* Compone...,
    const FSceneView* View,
    FPrimitiveDrawInterface* PDI
)

Draw visualization for the supplied component

Public function Virtual

void

 

DrawVisualizationHUD

(
    const UActorComponent* Compone...,
    const FViewport* Viewport,
    const FSceneView* View,
    FCanvas* Canvas
)

Draw HUD on viewport for the supplied component

Public function Virtual

void

 

EndEditing()

Public function Virtual Const

TSharedPtr< ...

 

GenerateContextMenu()

Public function Static

UActorCompon...

 

GetComponentFromPropertyName

(
    const AActor* CompOwner,
    const FPropertyNameAndIndex& Prope...
)

Get a component pointer from the property name

Public function Static

FPropertyNam...

 

GetComponentPropertyName

(
    const UActorComponent* Compone...
)

Find the name of the property that points to this component

Public function Virtual Const

bool

 

GetCustomInputCoordinateSystem

(
    const FEditorViewportClient* V...,
    FMatrix& OutMatrix
)

Public function Virtual Const

bool

 

GetWidgetLocation

(
    const FEditorViewportClient* V...,
    FVector& OutLocation
)

Public function Virtual

bool

 

HandleInputDelta

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    FVector& DeltaTranslate,
    FRotator& DeltalRotate,
    FVector& DeltaScale
)

Public function Virtual

bool

 

HandleInputKey

(
    FEditorViewportClient* Viewpor...,
    FViewport* Viewport,
    FKey Key,
    EInputEvent Event
)

Public function Virtual Const

bool

 

IsVisualizingArchetype()

Public function Static

void

 

NotifyPropertiesModified

(
    UActorComponent* Component,
    const TArray< UProperty* >& P...
)

Notify that many component properties have been modified

Public function Static

void

 

NotifyPropertyModified

(
    UActorComponent* Component,
    UProperty* Property
)

Notify that a component property has been modified

Public function Virtual

void

 

OnRegister()

Public function Virtual

bool

 

VisProxyHandleClick

(
    FEditorViewportClient* InViewp...,
    HComponentVisProxy* VisProxy,
    const FViewportClick& Click
)

Classes

Name

Description

Public struct

FPropertyNameAndIndex

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback