API reference
API reference
Select your platform
No SDKs available
No versions available

AMRUKGuardian Class

Extends AActor
The Guardian is a procedural mesh that is generated from the anchor geometry and has the guardian material applied. It is used to show the player where the walls and furniture. It prevents the player from walking into walls or furniture. It uses TryGetClosestSurfacePosition to determine if the player is close to the walls or furniture. This can be beneficial if your application has a full VR mode.

Constructors

AMRUKGuardian ( ObjectInitializer )
Signature
AMRUKGuardian::AMRUKGuardian(const FObjectInitializer &ObjectInitializer)
Parameters
ObjectInitializer: const FObjectInitializer &

Fields

GuardianMeshComponent : TObjectPtr< UProceduralMeshComponent >
Procedural mesh that is generated from the anchor geometry and has the guardian material applied.
Signature
TObjectPtr<UProceduralMeshComponent> AMRUKGuardian::GuardianMeshComponent

Member Functions

CreateGuardian ( GuardianMesh )
Attaches the procedural mesh component to this actor.
Signature
void AMRUKGuardian::CreateGuardian(UProceduralMeshComponent *GuardianMesh)
Parameters
GuardianMesh: UProceduralMeshComponent *  The mesh to attach.
Returns
void