![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ViewAdjustedStaticMeshGizmoComponent.h>
Inheritance diagram for UViewAdjustedStaticMeshGizmoComponent:Protected Member Functions | |
| virtual UE_API FPrimitiveSceneProxy * | CreateStaticMeshSceneProxy (Nanite::FMaterialAudit &NaniteMaterials, bool bCreateNanite) override |
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.
|
overridevirtual |
|
overrideprotectedvirtual |
|
inline |
|
overridevirtual |
|
overridevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
|
inlineoverridevirtual |
| void UViewAdjustedStaticMeshGizmoComponent::SetAllMaterials | ( | UMaterialInterface * | Material | ) |
Helper method that just sets the same material in all slots. Does not include hover override material.
|
inline |
The gizmo view context is needed to be able to line trace the component, since its collision data needs updating based on view.
| void UViewAdjustedStaticMeshGizmoComponent::SetHoverOverrideMaterial | ( | UMaterialInterface * | Material | ) |
Sets a material that will override all material slots whenever the component is told that is being hovered (via UpdateHoverState).
| void UViewAdjustedStaticMeshGizmoComponent::SetRenderVisibilityFunction | ( | TFunction< bool(const UE::GizmoRenderingUtil::ISceneViewInterface &View, const FTransform &ComponentToWorld)> | RenderVisibilityFunc | ) |
The render visibility function is an optional function that can hide the component based on view information (for instance to hide an arrow gizmo when looking directly down the arrow). It must be callable from both the game and the render threads (for line traces and rendering).
| void UViewAdjustedStaticMeshGizmoComponent::SetSubstituteInteractionComponent | ( | UPrimitiveComponent * | Component, |
| const FTransform & | RelativeTransform = FTransform::Identity |
||
| ) |
Sets a mesh that is swapped in while the component is being interacted with. This is done by not rendering this component and making the substitute component visible.
| void UViewAdjustedStaticMeshGizmoComponent::SetTransformAdjuster | ( | TSharedPtr< UE::GizmoRenderingUtil::IViewBasedTransformAdjuster > | Adjuster | ) |
Reimplemented from IGizmoBaseComponentInterface.
|
overridevirtual |
Reimplemented from IGizmoBaseComponentInterface.
Reimplemented from IGizmoBaseComponentInterface.