Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/FConstantViewRelativeTransformAd-
Description
Returns the transform that should be returned by a USceneComponent CalcBounds method, which can't know about the view. Although the default is to return the original bounds, any adjuster that scales the mesh arbitrarily large will probably need to return infinite bounds, whereas an adjuster that only changes orienation must account for any possible orientation. Note that returning infinite bounds causes the relevant components to no longer be frustum-culled, but this is acceptible for gizmos, which are typically few and on-screen.
Virtual Inheritance
- IViewBasedTransformAdjuster::GetViewIndependentBounds → FConstantViewRelativeTransformAdjuster::GetViewIndependentBounds
| Name | GetViewIndependentBounds |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewBasedTransformAdjusters.h |
| Include Path | #include "BaseGizmos/ViewBasedTransformAdjusters.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/ViewBasedTransformAdjusters.cpp |
virtual FBoxSphereBounds GetViewIndependentBounds
(
const FTransform & LocalToWorld,
const FBoxSphereBounds & OriginalBounds
)