Class SurfacePulse
Script for generating pulse shader effect on the surface.
Implements
IMixedRealityPointerHandler
Assembly: cs.temp.dll.dll
public class SurfacePulse : MonoBehaviour, IMixedRealityPointerHandler
Properties
Declaration
public bool AutoStart { get; set; }
Property Value
Declaration
public bool OriginFollowCamera { get; set; }
Property Value
Declaration
public string OriginParamName { get; set; }
Property Value
Shader parameter name to drive the pulse radius
Declaration
public string ParamName { get; set; }
Property Value
Declaration
public float PulseDuration { get; set; }
Property Value
Declaration
public bool PulseOnSelect { get; set; }
Property Value
Declaration
public float PulseRepeatMinDelay { get; set; }
Property Value
Declaration
public Material SurfaceMat { get; set; }
Property Value
Type |
Description |
Material |
|
Methods
Declaration
public void OnPointerClicked(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerDown(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerDragged(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
public void OnPointerUp(MixedRealityPointerEventData eventData)
Parameters
Type |
Name |
Description |
MixedRealityPointerEventData |
eventData |
|
Declaration
Declaration
public void ResetPulseMaterial()
Declaration
public void SetLocalOrigin(Vector3 origin)
Parameters
Type |
Name |
Description |
Vector3 |
origin |
|
Declaration
public void StartPulsing()
Declaration
public void StopPulsing(bool bFinishCurrentPulse = true)
Parameters
Type |
Name |
Description |
Boolean |
bFinishCurrentPulse |
|
Implements
IMixedRealityPointerHandler