class

PointClickEngine::Graphics::Effects::CameraEffects::BaseCameraEffect

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

Base class for camera-specific effects

Constructors

new(duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Default apply delegates to apply_to_camera

Source
apply_to_camera(camera : PointClickEngine::Graphics::Camera, dt : Float32)

Apply effect to camera

Source
smoothing

Smoothing factor for camera movements

Source
smoothing=(smoothing : Float32)

Smoothing factor for camera movements

Source
world_space

Whether effect should be applied relative to world or screen

Source
world_space=(world_space : Bool)

Whether effect should be applied relative to world or screen

Source