Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UComponentBoundTransformProxy
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ComponentBoundTransformProxy.h |
| Include | #include "BaseGizmos/ComponentBoundTransformProxy.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/ComponentBoundTransformProxy.cpp |
virtual void BindToComponent
(
USceneComponent * Component,
bool bStoreScaleSeparately
)
Remarks
Make the proxy get its transform from the given component, and set the transform on this component whenever SetTransform is called.
Parameters
| Name | Description |
|---|---|
| bStoreScaleSeparately | If true, then the scale won't be obtained from the component, nor set on it. Instead it will be stored separately internally. This is useful when using a gizmo to manipulate scale, where you don't want the scale to be applied to the gizmo component itself. |