AMRUKLightDispatcher
()
|
Signature
AMRUKLightDispatcher::AMRUKLightDispatcher() |
PointLightComponents
: TArray< class UPointLightComponent * > |
Signature
TArray<class UPointLightComponent*> AMRUKLightDispatcher::PointLightComponents |
AdditionalActorsToLookForPointLightComponents
: TArray< AActor * > |
List of actor(s) that contain a PointLightComponent that should contribute to the highlight effect. Use AddAdditionalPointLightActor to add actors during runtime.
Signature
TArray<AActor*> AMRUKLightDispatcher::AdditionalActorsToLookForPointLightComponents |
Collection
: class UMaterialParameterCollection * |
The material parameter collection in which to fill lights data. This parameter collection gets then send to the shader.
Signature
class UMaterialParameterCollection* AMRUKLightDispatcher::Collection |
ManualPointLights
: TArray< class APointLight * > |
PointLightActors to use for the highlight effect (not available if "Fetch Point Lights At Begin Play" is true).
Signature
TArray<class APointLight*> AMRUKLightDispatcher::ManualPointLights |
ShouldFetchPointLightsAtBeginPlay
: bool |
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.
Signature
bool AMRUKLightDispatcher::ShouldFetchPointLightsAtBeginPlay |
AddPointLightsFromActor
(
Actor
)
|
Signature
void AMRUKLightDispatcher::AddPointLightsFromActor(const AActor *Actor) Parameters Actor: const AActor *Returns void |
BeginPlay
()
|
Signature
void AMRUKLightDispatcher::BeginPlay() override Returns void |
FillPointLights
()
|
Signature
void AMRUKLightDispatcher::FillPointLights() Returns void |
AddAdditionalPointLightActor
(
Actor
)
|
Add a actor to the AdditionalActorsToLookForPointLightComponents list. This should be used during runtime instead of adding actors directly to AdditionalActorsToLookForPointLightComponents.
Signature
void AMRUKLightDispatcher::AddAdditionalPointLightActor(AActor *Actor) Parameters Actor: AActor *
Actor to add to AdditionalActorsToLookForPointLightComponents.
Returns void |
FillParameterCollection
()
|
Signature
void AMRUKLightDispatcher::FillParameterCollection() Returns void |
ForceUpdateCollection
()
|
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.
Signature
void AMRUKLightDispatcher::ForceUpdateCollection() Returns void |
Tick
(
DeltaSeconds
)
|
Signature
void AMRUKLightDispatcher::Tick(float DeltaSeconds) override Parameters DeltaSeconds: floatReturns void |