unreal.MovieGraphConditionGroupQuery_LightActorType

class unreal.MovieGraphConditionGroupQuery_LightActorType(outer: Object | None = None, name: Name | str = 'None')

Bases: MovieGraphConditionGroupQueryBase

Query type which filters actors by light type.

C++ Source:

  • Plugin: MovieRenderPipeline

  • Module: MovieRenderPipelineCore

  • File: MovieGraphRenderLayerSubsystem.h

get_enable_state_for_light_type(light_actor_type) bool

Gets the enable state for the given light actor type. If the provided type isn’t a supported light type, returns false.

Parameters:

light_actor_type (type(Class))

Return type:

bool

set_enable_state_for_light_type(light_actor_type, new_enable_state) None

Sets the enable state for the given light actor type. All enabled light types will be matched by the query. If the given actor type isn’t one of the supported light types, this does nothing.

Parameters: