Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGizmoComponentAxisSource
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/AxisSources.h |
| Include | #include "BaseGizmos/AxisSources.h" |
Syntax
class UGizmoComponentAxisSource :
public UObject,
public IGizmoAxisSource
Remarks
UGizmoComponentAxisSource is an IGizmoAxisSource implementation that provides one of the X/Y/Z axes of a Component's local coordinate system, mapped to World, based on an integer AxisIndex in range [0,2]. The Axis Origin is the Component's transform origin. Tangent vectors are provided.
Variables
| Type | Name | Description | |
|---|---|---|---|
| int | AxisIndex | Clamped internally to 0,1,2 | |
| bool | bLocalAxes | If false, returns World axes | |
| TObjectPtr< USceneComponent > | Component |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UGizmoComponentAxisSource * | Construct
(
USceneComponent* ComponentIn, |
Overridden from IGizmoAxisSource
| Type | Name | Description | |
|---|---|---|---|
| FVector | GetDirection () |
||
| FVector | GetOrigin () |
||
| void | GetTangentVectors
(
FVector& TangentXOut, |
Get the two tangent vectors that are orthogonal to the Direction vector. | |
| bool |