Navigation
API > API/Runtime > API/Runtime/MRMesh
Inheritance Hierarchy
- UPrimitiveComponent
- IMRMesh
- UMRMeshComponent
References
| Module | MRMesh |
| Header | /Engine/Source/Runtime/MRMesh/Public/MRMeshComponent.h |
| Include | #include "MRMeshComponent.h" |
Syntax
UCLASS (HideCategories=(Physics), Meta=(BlueprintSpawnableComponent), ClassGroup=Rendering,
MinimalAPI)
class UMRMeshComponent :
public UPrimitiveComponent,
public IMRMesh
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMRMeshComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginPlay () |
||
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
||
| void | Force navmesh generation to run using the current collision data. | ||
| bool | |||
| UMaterialInterface * | GetMaterial
(
int32 ElementIndex |
||
| UMaterialInterface * | |||
| bool | |||
| const FLinearColor & | |||
| void | |||
| FOnMRMeshBrickDataUpdatedDelegate & | |||
| FOnClear & | OnClear () |
||
| void | Generate nav mesh if collision data has changed since the last nav mesh generation. | ||
| void | SetCollisionEnabled
(
ECollisionEnabled::Type NewType |
||
| void | SetCollisionObjectType
(
ECollisionChannel Channel |
||
| void | SetCollisionProfileName
(
FName InCollisionProfileName, |
||
| void | SetCollisionResponseToAllChannels
(
ECollisionResponse NewResponse |
||
| void | SetCollisionResponseToChannel
(
ECollisionChannel Channel, |
||
| void | SetCollisionResponseToChannels
(
const FCollisionResponseContainer& NewResponses |
||
| void | SetEnableMeshOcclusion
(
bool bEnable |
||
| void | SetEnableNavMesh
(
bool bEnable |
||
| void | SetMaterial
(
int32 ElementIndex, |
UPrimitiveComponent.. public BP function needs to stay public to avoid nativization errors. (RR) | |
| void | SetNeverCreateCollisionMesh
(
bool bNeverCreate |
||
| void | SetUseWireframe
(
bool bUseWireframe |
||
| void | SetWalkableSlopeOverride
(
const FWalkableSlopeOverride& NewOverride |
||
| void | SetWireframeColor
(
const FLinearColor& InColor |
||
| void | SetWireframeMaterial
(
UMaterialInterface* InMaterial |
Set the wireframe material. | |
| void | |||
| void | UpdateMesh
(
const FVector& InLocation, |
Updates from HoloLens or iOS | |
| void | UpdateMesh
(
const FVector& InLocation, |
||
| void |
Overridden from IMRMesh
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
||
| bool | IsConnected () |
||
| void | SendRelativeTransform
(
const FTransform& Transform |
||
| void | SetConnected
(
bool value |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnClear | Trackers feeding mesh data to this component may want to know when we clear our mesh data |