Table of Contents

Method GetForLight

Namespace
Pinwheel.Beam
Assembly
Pinwheel.Beam.Runtime.dll

GetForLight(Light)

Retrieve a Volumetric Realtime Light component attached to a Light object. Generally faster than regular GetComponent()

public static VolumetricRealtimeLight GetForLight(Light light)

Parameters

light Light

The Light object.

Returns

VolumetricRealtimeLight

The Volumetric Realtime Light component, null if not attached.