Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- TSharedFromThis
- FComponentVisualizer
- FConstraintComponentVisualizer
- FDecalComponentVisualizer
- FLandscapeTexturePatchVisualizer
- FLocalHeightFogComponentVisualizer
- FPhysicsAnimationComponentVisualizer
- FPointLightComponentVisualizer
- FRadialForceComponentVisualizer
- FRectLightComponentVisualizer
- FSensingComponentVisualizer
- FSplineComponentVisualizer
- FSplineMeshComponentVisualizer
- FSpotLightComponentVisualizer
- FSpringArmComponentVisualizer
- FSpringComponentVisualizer
- FStereoLayerComponentVisualizer
- FWorldPartitionStreamingSourceComponentVisualizer
- TAttenuatedComponentVisualizer
- FAudioComponentVisualizer
- FForceFeedbackComponentVisualizer
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
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DrawVisualization
(
const UActorComponent* Component, |
Draw visualization for the supplied component | |
| void | DrawVisualizationHUD
(
const UActorComponent* Component, |
Draw HUD on viewport for the supplied component | |
| void | EndEditing () |
||
| TSharedPtr< SWidget > | |||
| bool | GetCustomInputCoordinateSystem
(
const FEditorViewportClient* ViewportClient, |
||
| UActorComponent * | Get currently edited component, this is needed to reset the active visualizer after undo/redo | ||
| bool | GetWidgetLocation
(
const FEditorViewportClient* ViewportClient, |
||
| bool | HandleBoxSelect
(
const FBox& InBox, |
Handle box select input | |
| bool | HandleFrustumSelect
(
const FConvexVolume& InFrustum, |
Handle frustum select input | |
| bool | HandleInputDelta
(
FEditorViewportClient* ViewportClient, |
||
| bool | HandleInputKey
(
FEditorViewportClient* ViewportClient, |
||
| bool | HandleModifiedClick
(
FEditorViewportClient* InViewportClient, |
Handle click modified by Alt, Ctrl and/or Shift. The input HitProxy may not be on this component. | |
| bool | HandleSnapTo
(
const bool bInAlign, |
Pass snap input to active visualizer | |
| bool | HasFocusOnSelectionBoundingBox
(
FBox& OutBoundingBox |
Return whether focus on selection should focus on bounding box defined by active visualizer | |
| bool | |||
| void | NotifyPropertiesModified
(
UActorComponent* Component, |
Notify that many component properties have been modified | |
| void | NotifyPropertyModified
(
UActorComponent* Component, |
Notify that a component property has been modified | |
| void | OnRegister () |
||
| bool | ShouldShowForSelectedSubcomponents
(
const UActorComponent* Component |
Show this visualizer if the component is directly is selected | |
| bool | Only show this visualizer if the actor is selected | ||
| void | TrackingStarted
(
FEditorViewportClient* InViewportClient |
Gets called when the mouse tracking has started (dragging behavior) | |
| void | TrackingStopped
(
FEditorViewportClient* InViewportClient, |
Gets called when the mouse tracking has stopped (dragging behavior) | |
| bool | VisProxyHandleClick
(
FEditorViewportClient* InViewportClient, |
Typedefs
| Name | Description |
|---|---|
| FPropertyNameAndIndex | So deprecated code expecting this as an inner class still works. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| UActorComponent * | GetComponentFromPropertyName
(
const AActor* CompOwner, |
Please use the FComponentPropertyPath::GetComponent() to retrieve a component pointer from a property name path. | |
| FPropertyNameAndIndex | GetComponentPropertyName
(
const UActorComponent* Component |
Please use the FComponentPropertyPath class to build property name paths for components. |