PulseShaderHandMeshHandler Class

Definition

Script for triggering the pulse shader effect on HoloLens 2 hand mesh.

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

Constructors

Properties

AutoStart

Automatically begin repeated pulsing.

(Inherited from PulseShaderHandler)
OriginParamName

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

(Inherited from PulseShaderHandler)
PalmFacingTime

The length of time required for the palm to face the camera before the pulse shader visual is triggered.

ParamName

Shader parameter name to drive the pulse radius.

(Inherited from PulseShaderHandler)
PulseAnimationDuration

How long in seconds the pulse should animate.

(Inherited from PulseShaderHandler)
PulseFingerTipsOnPinch

Trigger the pulse shader visual if the hand is in the pinch/select gesture.

PulseOnHandDetected

Trigger the pulse shader visual once if the left or right hand enters the frame and is tracked.

PulseOnLookAtPalms

Trigger the pulse shader visual if the palm of the left or right hand is facing the camera.

PulseOriginFingertips

The local origin of the pulse shader visual for the finger tips.

PulseOriginPalms

The local origin of the palms.

PulseRepeatMinDelay

Minimum time to wait between each pulse.

(Inherited from PulseShaderHandler)
SurfaceMat

The material to animate.

(Inherited from PulseShaderHandler)

Methods

Applies to

Producto Versiones
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