AMRUKGuardianSpawner Class
Extends AActor
Show a guardian if the player gets close to any furniture or walls.
Whether SpawnGuardian() should be called automatically after the mixed reality utility kit has been initialized.
double GuardianDistance[Get]
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.
TObjectPtr< UMaterialInstance > GuardianMaterial[Get]
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.
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.
void SetGuardianMaterial ( UMaterialInstance * Material )
Set the guardian material to a different one.
ParametersMaterialThe guardian material.
void SetGridDensity ( double Density )
Set the density of the grid.
void Tick ( float DeltaSeconds )