Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
UGizmoComponentWorldTransformSource implements IGizmoTransformSource (via UGizmoBaseTransformSource) based on the internal transform of a USceneComponent.
| Name | UGizmoComponentWorldTransformSource |
| Type | class |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/TransformSources.h |
| Include Path | #include "BaseGizmos/TransformSources.h" |
Syntax
UCLASS (MinimalAPI)
class UGizmoComponentWorldTransformSource : public UGizmoBaseTransformSource
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGizmoBaseTransformSource → UGizmoComponentWorldTransformSource
Implements Interfaces
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bModifyComponentOnTransform | bool | If true, Component->Modify() is called on SetTransform | BaseGizmos/TransformSources.h | |
| Component | TObjectPtr< USceneComponent > | BaseGizmos/TransformSources.h |
Functions
Public
Overridden from IGizmoTransformSource
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FTransform GetTransform() |
BaseGizmos/TransformSources.h | ||
virtual void SetTransform
(
const FTransform& NewTransform |
BaseGizmos/TransformSources.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UGizmoComponentWorldTransformSource * Construct
(
USceneComponent* Component, |
Construct a default instance of UGizmoComponentWorldTransformSource with the given Component | BaseGizmos/TransformSources.h |