Editar

Compartir a través de


SurfacePulse Class

Definition

Script for generating pulse shader effect on the surface.

public ref class SurfacePulse : UnityEngine::MonoBehaviour, Microsoft::MixedReality::Toolkit::Input::IMixedRealityPointerHandler, UnityEngine::EventSystems::IEventSystemHandler
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SurfacePulse")]
public class SurfacePulse : UnityEngine.MonoBehaviour, Microsoft.MixedReality.Toolkit.Input.IMixedRealityPointerHandler, UnityEngine.EventSystems.IEventSystemHandler
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/SurfacePulse")>]
type SurfacePulse = class
    inherit MonoBehaviour
    interface IMixedRealityPointerHandler
    interface IEventSystemHandler
Public Class SurfacePulse
Inherits MonoBehaviour
Implements IEventSystemHandler, IMixedRealityPointerHandler
Inheritance
UnityEngine.MonoBehaviour
SurfacePulse
Attributes
UnityEngine.AddComponentMenuAttribute
Implements
IMixedRealityPointerHandler UnityEngine.EventSystems.IEventSystemHandler

Properties

AutoStart
OriginFollowCamera
OriginParamName
ParamName

Shader parameter name to drive the pulse radius

PulseDuration
PulseOnSelect
PulseRepeatMinDelay
SurfaceMat

Methods

OnPointerClicked(MixedRealityPointerEventData)
OnPointerDown(MixedRealityPointerEventData)
OnPointerDragged(MixedRealityPointerEventData)
OnPointerUp(MixedRealityPointerEventData)
PulseOnce()
ResetPulseMaterial()
SetLocalOrigin(Vector3)
StartPulsing()
StopPulsing(Boolean)

Applies to