Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Adjuster that maintains same view size but otherwise keeps the component transform. Note that this will look wrong if the component is not at the gizmo origin, because the distance relative to gizmo origin won't be scaled. Use FGizmoSubComponentTransformAdjuster if that is needed.
| Name | FSimpleConstantViewScaleAdjuster |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewBasedTransformAdjusters.h |
| Include Path | #include "BaseGizmos/ViewBasedTransformAdjusters.h" |
Syntax
class FSimpleConstantViewScaleAdjuster : public UE::GizmoRenderingUtil::IViewBasedTransformAdjuster
Functions
Public
Overridden from IViewBasedTransformAdjuster
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTransform GetAdjustedComponentToWorld
(
const ISceneViewInterface& View, |
IGizmoViewTransformAdjuster. | BaseGizmos/ViewBasedTransformAdjusters.h | |
virtual FBoxSphereBounds GetViewIndependentBounds
(
const FTransform& LocalToWorld, |
Returns the transform that should be returned by a USceneComponent CalcBounds method, which can't know about the view. | BaseGizmos/ViewBasedTransformAdjusters.h |