UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UARMeshComponent Class Reference

#include <ARComponent.h>

+ Inheritance diagram for UARMeshComponent:

Public Member Functions

UE_API void ReceiveAdd (const FARMeshUpdatePayload &Payload)
 
UE_API void ReceiveUpdate (const FARMeshUpdatePayload &Payload)
 
virtual UE_API void Update (UARTrackedGeometry *TrackedGeometry) override
 
- Public Member Functions inherited from UARComponent
UE_API UARComponent ()
 
UE_API void SetNativeID (FGuid NativeID)
 
UMRMeshComponent * GetMRMesh ()
 
UE_API void ReceiveRemove ()
 
UE_API void UpdateVisualization ()
 
virtual UE_API void Remove (UARTrackedGeometry *TrackedGeometry)
 
 DECLARE_MULTICAST_DELEGATE_OneParam (FMRMeshDelegate, UMRMeshComponent *)
 

Protected Member Functions

UE_API void ServerUpdatePayload (const FARMeshUpdatePayload &NewPayload)
 
virtual UE_API void OnRep_Payload () override
 
virtual UE_API void UpdateVisualization_Implementation () override
 
- Protected Member Functions inherited from UARComponent
virtual UE_API void OnUnregister () override
 
UE_API void RemoveMeshComponent (UARTrackedGeometry *TrackedGeometry)
 
UE_API void ManageMeshComponentForDebugMode (bool bDebugModeEnabled, const FARSessionPayload &SessionPayload)
 
UE_API FLinearColor GetDebugColor () const
 

Protected Attributes

FARMeshUpdatePayload ReplicatedPayload
 
- Protected Attributes inherited from UARComponent
bool bUseDefaultReplication = true
 
TObjectPtr< UMaterialInterfaceDefaultMeshMaterial = nullptr
 
TObjectPtr< UMaterialInterfaceDefaultWireframeMeshMaterial = nullptr
 
TObjectPtr< UMRMeshComponent > MRMeshComponent
 
TObjectPtr< UARTrackedGeometryMyTrackedGeometry
 
bool bFirstUpdate = true
 
bool bIsRemoved = false
 
bool bInDebugMode = false
 
bool bSavedWireframeMode
 
FLinearColor SavedWireframeColor
 

Additional Inherited Members

- Public Attributes inherited from UARComponent
FGuid NativeID
 
FMRMeshDelegate OnMRMeshCreated
 
FMRMeshDelegate OnMRMeshDestroyed
 

Member Function Documentation

◆ OnRep_Payload()

virtual UE_API void UARMeshComponent::OnRep_Payload ( )
overrideprotectedvirtual

Reimplemented from UARComponent.

◆ ReceiveAdd()

UE_API void UARMeshComponent::ReceiveAdd ( const FARMeshUpdatePayload Payload)

Event when native representation is first added, called on server and clients.

◆ ReceiveUpdate()

UE_API void UARMeshComponent::ReceiveUpdate ( const FARMeshUpdatePayload Payload)

Event when native representation is updated, called on server and clients.

◆ ServerUpdatePayload()

UE_API void UARMeshComponent::ServerUpdatePayload ( const FARMeshUpdatePayload NewPayload)
protected

◆ Update()

virtual UE_API void UARMeshComponent::Update ( UARTrackedGeometry TrackedGeometry)
overridevirtual

Overridable native event for when native representation is updated.

Reimplemented from UARComponent.

◆ UpdateVisualization_Implementation()

void UARMeshComponent::UpdateVisualization_Implementation ( )
overrideprotectedvirtual

Member Data Documentation

◆ ReplicatedPayload

FARMeshUpdatePayload UARMeshComponent::ReplicatedPayload
protected

The documentation for this class was generated from the following files: