FARKitMeshData

Represents a cached version of the data coming from an ARKit mesh anchor

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AppleARKit

Header

/Engine/Plugins/Runtime/AR/AppleAR/AppleARKit/Source/AppleARKit/Public/AppleARKitMeshData.h

Include

#include "AppleARKitMeshData.h"

Syntax

class FARKitMeshData : public IMRMesh::FBrickDataReceipt

Remarks

Represents a cached version of the data coming from an ARKit mesh anchor

Destructors

Name Description

Public function

~FARKitMeshData()

Functions

Name Description

Public function Static

void

 

ClearAllMeshData()

Clears the cached data for all the mesh anchors

Public function

bool

 

GetClassificationAtLocation

(
    const FVector & InWorldLocation,
    const FTransform & InLocalToWorldTr...,
    uint8 & OutClassification,
    FVector & OutClassificationLocation,
    float MaxLocationDiff
)

Gets the object classification for a location in the world space See UARBlueprintLibrary::GetObjectClassificationAtLocation

Public function Static

MeshDataPtr

 

GetMeshData

(
    const FGuid & InGuid
)

Returns the cached data for a particular mesh anchor, identified by the GUID

Public function Static

void

 

RemoveMeshData

(
    const FGuid & InGuid
)

Removes the cached data for a particular mesh anchor, identified by the GUID

Public function Static

void

 

UpdateMRMesh

(
    const FTransform & MeshTransform,
    MeshDataPtr MeshData,
    UMRMeshComponent * InMeshCompon...
)

Updates a MR mesh with the data cached in a particular mesh data object

Typedefs

Name

Description

MeshDataPtr

Constants

Name

Description

CachedMeshData

Global cached mesh data records, one for each anchor

GlobalLock

Lock protecting the access to CachedMeshData

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback