/Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h
Base class for 2d and 3d primitive objects intended to be used as part of 3D Gizmos. Contains common properties and utility functions. This class does nothing by itself, use subclasses likeUGizmoElementCylinder
class UGizmoElementBase : public [UObject](API\Runtime\CoreUObject\UObject\UObject)
bool
bEnabled
Whether element is enabled. Render and LineTrace only occur when bEnabled is true.
bool
bEnabledForDefaultState
Whether element is enabled when element state is default.
bool
bEnabledForHoveringState
Whether element is enabled when element state is hovering.
bool
bEnabledForInteractingState
Whether element is enabled when element state is interacting.
bool
bEnabledForOrthographicProjection
Whether element is enabled for orthographic projection.
bool
bEnabledForPerspectiveProjection
Whether element is enabled for perspective projection.
EGizmoElementIn...
ElementInteractionState
Current element interaction state - None, Hovering or Interacting.
EGizmoElementSt...
ElementState
Element state - indicates whether object is visible or hittable.
void virtual Re...
LineTrace
Render enabled visible element.
FGizmoElementMe...
MeshRenderAttributes
Mesh render state attributes for this element.
uint32
PartIdentifier
Part identifier.
float
PixelHitDistanceThreshold
Pixel hit distance threshold, element will be scaled enough to add this threshold when line-tracing.
float
ViewAlignAxialAngleTol
Axial view alignment angle tolerance in radians, based on angle between align normal and view direction.
float
ViewAlignAxialMaxCosAngleTol
Axial view alignment minimum cos angle tolerance, computed based on ViewAlignAxialAngleTol.
FVector
ViewAlignAxis
View align axis.
FVector
ViewAlignNormal
View align normal.
EGizmoElementVi...
ViewAlignType
View align type: None, PointEye, or PointWorld.
float
ViewDependentAngleTol
View-dependent angle tolerance based on : For Axis, minimum radians between view dependent axis and view direction.
float
ViewDependentAxialMaxCosAngleTol
Axial view alignment minimum cos angle tolerance, computed based on ViewDependentAngleTol.
FVector
ViewDependentAxis
View-dependent axis or plane normal, based on the view-dependent type.
float
ViewDependentPlanarMinCosAngleTol
Planar view alignment minimum cos angle tolerance, computed based on ViewDependentAngleTol.
EGizmoElementVi...
ViewDependentType
View-dependent type - None, Axis or Plane.