| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/MagicLeapMeshTrackerComponent.h |
Include |
#include "MagicLeapMeshTrackerComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap, BlueprintType, Blueprintable, EditInlineNew,
Meta=(BlueprintSpawnableComponent))
class UMagicLeapMeshTrackerComponent :
public USceneComponent,
public IMagicLeapMeshBlockSelectorInterface
The MeshTrackerComponent class manages requests for environmental mesh data, processes the results and provides them to the calling system. The calling system is able request environmental mesh data within a specified area. Various other search criteria can be set via this class's public properties. Mesh data requests are processed on a separate thread. Once a mesh data request has been processed the calling system will be notified via an FOnMeshTrackerUpdated broadcast.
Name | Description | ||
---|---|---|---|
|
BlockVertexColors |
Colors through which we cycle when setting vertex color by block. |
|
|
UBoxComponent &... |
BoundingVolume |
Bounding box for the mesh scan. The mesh will be scanned for only within this box. |
|
BricksPerFrame |
Specifies the number of MR Mesh bricks to create per frame. |
|
|
float |
DisconnectedSectionArea |
Any section that is disconnected from the main mesh and has an area (in Unreal Units squared) less than this value will be removed. |
|
LevelOfDetail |
Meshing LOD. |
|
|
MeshType |
The type of mesh to query. |
|
|
MRMesh |
MRMeshComponent can render and provide collision based on the Mesh data. |
|
|
OnMeshTrackerUpdated |
Activated whenever new information about this mesh tracker is detected. |
|
|
float |
PerimeterOfGapsToFill |
The perimeter (in Unreal Units) of gaps to be filled. 0 means do not fill. A good value is 300cm. |
|
Planarize |
If true, the system will planarize the returned mesh i.e. planar regions will be smoothed out. |
|
|
RemoveOverlappingTriangles |
If true, overlapping area between two mesh blocks will be removed. |
|
|
RequestNormals |
If true, the system will generate normals for the triangle vertices. |
|
|
RequestVertexConfidence |
If true, the system will generate the mesh confidence values for the triangle vertices. |
|
|
ScanWorld |
Set to true to start scanning the world for meshes. |
|
|
VertexColorFromConfidenceOne |
Color mapped to confidence value of one. |
|
|
VertexColorFromConfidenceZero |
Color mapped to confidence value of zero. |
|
|
VertexColorMode |
Vertex Colors can be unused, or filled with several types of information. |
Name | Description | |
---|---|---|
|
UMagicLeapMeshTrackerComponent() |
Name | Description | |
---|---|---|
|
~UMagicLeapMeshTrackerComponent() |
Destroys the FMagicLeapMeshTrackerImpl instance. |
Name | Description | ||
---|---|---|---|
|
ConnectBlockSelector |
Sets the interface to be used for selecting blocks to mesh. |
|
|
ConnectMRMesh ( |
Sets the procedural mesh component that will store and display the environmental mesh results. |
|
|
DisconnectBlockSelector() |
Disconnects the previously connected IMagicLeapMeshBlockSelectorInterface. |
|
|
DisconnectMRMesh ( |
Unlinks the current procedural mesh component from the mesh tracking system. |
|
|
GetNumQueuedBlockUpdates() |
Gets the number of mesh bricks in the pending queue. |
|
|
SelectMeshBlocks ( |
||
|
SelectMeshBlocks_Implementation ( |
Name | Description | ||
---|---|---|---|
|
TickComponent ( |
Polls for and handles the results of the environmental mesh queries. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Unlinks the current procedural mesh component from the mesh tracking system. |
|
|
FinishDestroy() |
Destroys the interface object to the mesh tracking api |
|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
Name |
Description |
|
---|---|---|
|
FOnMeshTrackerUpdated |
Delegate used by OnMeshUpdated(). |