Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Interface for a helper that can adjust a component's transform based on view information, used by UViewAdjustedStaticMeshGizmoComponent. Adjusters are typically expected to be safely shareable across game and render threads, so if they are not constant, they are expected to handle updates safely in their implementation.
| Name | IViewBasedTransformAdjuster |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewBasedTransformAdjusters.h |
| Include Path | #include "BaseGizmos/ViewBasedTransformAdjusters.h" |
Syntax
class IViewBasedTransformAdjuster
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IViewBasedTransformAdjuster() |
BaseGizmos/ViewBasedTransformAdjusters.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTransform GetAdjustedComponentToWorld
(
const ISceneViewInterface& View, |
Given the component location and the view information, gives the desired transform of the component. | BaseGizmos/ViewBasedTransformAdjusters.h | |
virtual FTransform GetAdjustedComponentToWorld_RenderThread
(
const ISceneViewInterface& View, |
If an adjuster is used by a render proxy, it will use this endpoint for getting the transform. | 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 | |
virtual void UpdateWorldLocalState
(
bool bWorldIn |
Not every adjuster will care about the world/local setting, but it is useful for the a component that uses it to be able to blindly pass this information down without caring about the type of adjuster. | BaseGizmos/ViewBasedTransformAdjusters.h |