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

AMRUKGuardianSpawner Class

Extends AActor
Show a guardian if the player gets close to any furniture or walls.

Fields

Whether SpawnGuardian() should be called automatically after the mixed reality utility kit has been initialized.
How close the camera needs to come to a surface before the guardian appears.
Whether the fading value should be calculated for the shader or not. If fading is not needed this can save performance.

Protected Fields

The material to use for the guardian. It needs to have a scalar parameter Fade and a vector parameter WallScale. If this material is not set a default one will be used.
How dense the grid should be.

Member Functions

AMRUKGuardianSpawner ( )
Spawn the guardian. This will get called automatically after the mixed reality utility kit has been initialized if SpawnMode is set to something other than None.
Set the guardian material to a different one.
Parameters
Material
The guardian material.
Set the density of the grid.
Parameters
Density
The grid density.
void Tick
( float DeltaSeconds )

Protected Functions

void BeginPlay ( )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon