PulseShaderHandler Class
Definition
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 generating pulse shader effect on the surface of a mesh.
public ref class PulseShaderHandler : UnityEngine::MonoBehaviour
public class PulseShaderHandler : UnityEngine.MonoBehaviour
type PulseShaderHandler = class
inherit MonoBehaviour
Public Class PulseShaderHandler
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourPulseShaderHandler
- Derived
Constructors
PulseShaderHandler() |
Properties
AutoStart |
Automatically begin repeated pulsing. |
OriginParamName |
Shader parameter name to set the pulse origin, in local space. |
ParamName |
Shader parameter name to drive the pulse radius. |
PulseAnimationDuration |
How long in seconds the pulse should animate. |
PulseRepeatMinDelay |
Minimum time to wait between each pulse. |
SurfaceMat |
The material to animate. |
Methods
ApplyPulseRadiusToMaterial(Single) | |
OnDestroy() | |
PulseOnce(Boolean) | |
ResetPulseMaterial() | |
SetLocalOrigin(Vector3) | |
Start() | |
StartPulsing() | |
StopPulsing(Boolean) | |
Update() |