Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
Inheritance Hierarchy
- UStaticMeshComponent
- IGizmoBaseComponentInterface
- UViewAdjustedStaticMeshGizmoComponent
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewAdjustedStaticMeshGizmoComponent.h |
| Include | #include "BaseGizmos/ViewAdjustedStaticMeshGizmoComponent.h" |
Syntax
UCLASS (Blueprintable, BlueprintType, ClassGroup=Gizmos, Meta=(BlueprintSpawnableComponent))
class UViewAdjustedStaticMeshGizmoComponent :
public UStaticMeshComponent,
public IGizmoBaseComponentInterface
Remarks
Version of a static mesh component that only takes the dynamic draw path and has the ability to adjust the transform based on view information.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FPrimitiveSceneProxy * | CreateStaticMeshSceneProxy
(
Nanite::FMaterialAudit& NaniteMaterials, |
UStaticMeshComponent. | |
| UMaterialInterface * | |||
| FMaterialRelevance | GetMaterialRelevance
(
ERHIFeatureLevel::Type InFeatureLevel |
UMeshComponent. | |
| TSharedPtr< UE::GizmoRenderingUtil::IViewBasedTransformAdjuster > | |||
| bool | |||
| bool | |||
| bool | UActorComponent. | ||
| bool | LineTraceComponent
(
FHitResult& OutHit, |
UPrimitiveComponent. | |
| bool | UObject. | ||
| void | SetAllMaterials
(
UMaterialInterface* Material |
Helper method that just sets the same material in all slots. | |
| void | SetGizmoViewContext
(
UGizmoViewContext* GizmoViewContextIn |
The gizmo view context is needed to be able to line trace the component, since its collision data needs updating based on view. | |
| void | SetHoverOverrideMaterial
(
UMaterialInterface* Material |
Sets a material that will override all material slots whenever the component is told that is being hovered (via UpdateHoverState). | |
| void | SetSubstituteInteractionComponent
(
UPrimitiveComponent* Component, |
Sets a mesh that is swapped in while the component is being interacted with. | |
| void | SetTransformAdjuster
(
TSharedPtr< UE::GizmoRenderingUtil::IViewBasedTransformAdjuster > Adjuster |
Overridden from IGizmoBaseComponentInterface
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateHoverState
(
bool bHoveringIn |
||
| void | UpdateInteractingState
(
bool bInteracting |
||
| void | UpdateWorldLocalState
(
bool bWorldIn |