Editar

Partilhar via


PulseShaderHandler Class

Definition

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.MonoBehaviour
PulseShaderHandler
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()

Applies to