Navigation
API > API/Runtime > API/Runtime/MRMesh
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UMockDataMeshTrackerComponent
References
| Module | MRMesh |
| Header | /Engine/Source/Runtime/MRMesh/Public/MockDataMeshTrackerComponent.h |
| Include | #include "MockDataMeshTrackerComponent.h" |
Syntax
class UMockDataMeshTrackerComponent : public USceneComponent
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FColor > | BlockVertexColors | Colors through which we cycle when setting vertex color by block. | |
| TObjectPtr< class UMRMeshComponent > | MRMesh | MRMeshComponent can render and provide collision based on the Mesh data. | |
| FOnMockDataMeshTrackerUpdated | OnMeshTrackerUpdated | Activated whenever new information about this mesh tracker is detected. | |
| bool | RequestNormals | If true, the system will generate normals for the triangle vertices. | |
| bool | RequestVertexConfidence | If true, the system will generate the mesh confidence values for the triangle vertices. | |
| bool | ScanWorld | Set to true to start scanning the world for meshes. | |
| float | UpdateInterval | Update Interval in Seconds. | |
| FLinearColor | VertexColorFromConfidenceOne | Color mapped to confidence value of one. | |
| FLinearColor | VertexColorFromConfidenceZero | Color mapped to confidence value of zero. | |
| EMeshTrackerVertexColorMode | VertexColorMode | Vertex Colors can be unused, or filled with several types of information. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMockDataMeshTrackerComponent
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Destroys the FMeshTrackerImpl instance. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ConnectMRMesh
(
UMRMeshComponent* InMRMeshPtr |
Sets the procedural mesh component that will store and display the environmental mesh results. | |
| void | DisconnectMRMesh
(
UMRMeshComponent* InMRMeshPtr |
Unlinks the current procedural mesh component from the mesh tracking system. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | TickComponent
(
float DeltaTime, |
The procedural mesh generated should bake physics and update its collision data. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Unlinks the current procedural mesh component from the mesh tracking system. | |
| void | Destroys the interface object to the mesh tracking api | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnMockDataMeshTrackerUpdated | Delegate used by OnMeshUpdated(). |