class

PointClickEngine::Graphics::Effects::SceneEffects::BaseSceneEffect

Inherits PointClickEngine::Graphics::Effects::Effect < Reference < Object

Base class for scene-wide effects that can leverage object effects

Constructors

new(duration : Float32 = 0.0_f32)
Source

Instance methods

affect_all_layers

Scene-specific properties

Source
affect_all_layers=(affect_all_layers : Bool)

Scene-specific properties

Source
affected_layers
Source
affected_layers=(affected_layers : Array(String))
Source
apply_to_layer(context : EffectContext, layer : Layers::Layer)

Apply effect to a specific layer

Source
apply_to_scene(context : EffectContext, layers : Layers::LayerManager)

Apply effect to entire scene

Source
object_effect

The underlying object effect we're adapting

Source
render_scene_with_effect

Optional method for shader-based scene effects to override

Source
screen_space
Source
screen_space=(screen_space : Bool)
Source