편집

다음을 통해 공유


ProximityLight.Pulse(Single, Single, Single) Method

Definition

Initiates a pulse, if one is not already occurring, which simulates a user touching a surface.

public void Pulse (float pulseDuration = 0.2, float fadeBegin = 0.8, float fadeSpeed = 10);
member this.Pulse : single * single * single -> unit
Public Sub Pulse (Optional pulseDuration As Single = 0.2, Optional fadeBegin As Single = 0.8, Optional fadeSpeed As Single = 10)

Parameters

pulseDuration
Single

How long in seconds should the pulse animate over.

fadeBegin
Single

At what point during the pulseDuration should the pulse begin to fade out as a percentage. Range should be [0, 1].

fadeSpeed
Single

The speed to fade in and out.

Applies to