PulseShaderSpatialMeshHandler Class

Definition

Script for triggering the pulse shader effect on the spatial mesh.

C++
public ref class PulseShaderSpatialMeshHandler : Microsoft::MixedReality::Toolkit::UI::PulseShader::PulseShaderHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
Inheritance
UnityEngine.MonoBehaviour
PulseShaderSpatialMeshHandler
Implements
IMixedRealityPointerHandler UnityEngine.EventSystems.IEventSystemHandler

Constructors

Properties

AutoStart

Automatically begin repeated pulsing.

(Inherited from PulseShaderHandler)
OriginFollowCamera

Set the origin of the pulse animation to the main camera location.

OriginParamName

Shader parameter name to set the pulse origin, in local space.

(Inherited from PulseShaderHandler)
ParamName

Shader parameter name to drive the pulse radius.

(Inherited from PulseShaderHandler)
PulseAnimationDuration

How long in seconds the pulse should animate.

(Inherited from PulseShaderHandler)
PulseOnSelect

Trigger the pulse shader animation on select (air-tap/pinch) of the spatial mesh.

PulseRepeatMinDelay

Minimum time to wait between each pulse.

(Inherited from PulseShaderHandler)
SurfaceMat

The material to animate.

(Inherited from PulseShaderHandler)

Methods

Applies to

Product Versions
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0