PulseShaderSpatialMeshHandler Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Script for triggering the pulse shader effect on the spatial mesh.
public ref class PulseShaderSpatialMeshHandler : Microsoft::MixedReality::Toolkit::UI::PulseShader::PulseShaderHandler, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
public class PulseShaderSpatialMeshHandler : Microsoft.MixedReality.Toolkit.UI.PulseShader.PulseShaderHandler, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
type PulseShaderSpatialMeshHandler = class
inherit PulseShaderHandler
interface IMixedRealityPointerHandler
interface IEventSystemHandler
Public Class PulseShaderSpatialMeshHandler
Inherits PulseShaderHandler
Implements IEventSystemHandler, IMixedRealityPointerHandler
- Inheritance
- Implements
-
IMixedRealityPointerHandler Unity
Engine. Event Systems. IEvent System Handler
Auto |
Automatically begin repeated pulsing. (Inherited from PulseShaderHandler) |
Origin |
Set the origin of the pulse animation to the main camera location. |
Origin |
Shader parameter name to set the pulse origin, in local space. (Inherited from PulseShaderHandler) |
Param |
Shader parameter name to drive the pulse radius. (Inherited from PulseShaderHandler) |
Pulse |
How long in seconds the pulse should animate. (Inherited from PulseShaderHandler) |
Pulse |
Trigger the pulse shader animation on select (air-tap/pinch) of the spatial mesh. |
Pulse |
Minimum time to wait between each pulse. (Inherited from PulseShaderHandler) |
Surface |
The material to animate. (Inherited from PulseShaderHandler) |
Apply |
(Inherited from PulseShaderHandler) |
On |
(Inherited from PulseShaderHandler) |
On |
|
On |
|
On |
|
On |
|
Pulse |
(Inherited from PulseShaderHandler) |
Reset |
(Inherited from PulseShaderHandler) |
Set |
(Inherited from PulseShaderHandler) |
Start() | (Inherited from PulseShaderHandler) |
Start |
(Inherited from PulseShaderHandler) |
Stop |
(Inherited from PulseShaderHandler) |
Trigger |
|
Update() |
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 |