API reference
API reference
Select your platform
No SDKs available
No versions available

AMRUKLightDispatcher Class

Extends AActor
Collects lights and sends them to a highlight material. This can be used to achieve highlights over Passthrough.

Fields

The material parameter collection in which to fill lights data. This parameter collection gets then send to the shader.
Whether all point lights should be fetched automatically at BeginPlay(). The automatic fetching only works for PointLightActors. Actors that have PointLightComponents attached to them will not be detected. These should be specified in AdditionalActorsToLookForPointLightComponents.
List of actor(s) that contain a PointLightComponent that should contribute to the highlight effect. Use AddAdditionalPointLightActor to add actors during runtime.
PointLightActors to use for the highlight effect (not available if "Fetch Point Lights At Begin Play" is true).

Protected Fields

TArray< class UPointLightComponent * > PointLightComponents[Get]

Member Functions

Add a actor to the AdditionalActorsToLookForPointLightComponents list. This should be used during runtime instead of adding actors directly to AdditionalActorsToLookForPointLightComponents.
Parameters
Actor
Actor to add to AdditionalActorsToLookForPointLightComponents.
Only callable in the editor from the scene, will update the linked parameter collection with the info of the point lights in the scene (based on the parameters), updating the highlight effect in the process. This is meant to preview the effect in the editor.
AMRUKLightDispatcher ( )
void Tick
( float DeltaSeconds )
void FillParameterCollection ( )

Protected Functions

void BeginPlay ( )
void FillPointLights ( )
void AddPointLightsFromActor
( const AActor * Actor )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon