No documentation
POINT: Any = 'point'
DIRECTIONAL: Any = 'directional'
No methods defined.
No documentation
CIRCLE: Any = 'circle'
RECTANGLE: Any = 'rectangle'
CONE: Any = 'cone'
No methods defined.
No documentation
TRANSLUCENT: Any = 'translucent'
OPAQUE: Any = 'opaque'
BLUR: Any = 'blur'
No methods defined.
No documentation
CIRCLE: Any = 'circle'
RECTANGLE: Any = 'rectangle'
CONE: Any = 'cone'
POLYGON: Any = 'polygon'
No methods defined.
Light source that can cast shadows.
def __init__(self: Any, light_type: LightType, position: Tuple[float, float], color: Tuple[float, float, float] = (1.0, 1.0, 1.0), intensity: float = 1.0, range: float = 10.0, cast_shadows: bool = True) -> Any
An object that can cast shadows.
def __init__(self: Any, vertices: List[Tuple[float, float]], position: Tuple[float, float] = (0, 0), visible: bool = True) -> Any
Manages lights and casters, and renders simple projected shadows.
def __init__(self: Any) -> Any
def add_light(self: Any, light: Light) -> Any
def remove_light(self: Any, light: Light) -> Any
def clear_lights(self: Any) -> Any
def add_caster(self: Any, caster: ShadowCaster) -> Any
def remove_caster(self: Any, caster: ShadowCaster) -> Any
def clear_casters(self: Any) -> Any
def add_rectangle_caster(self: Any, x: float, y: float, width: float, height: float) -> ShadowCaster
def add_circle_caster(self: Any, x: float, y: float, radius: float, segments: int = 16) -> ShadowCaster
def add_point_light(self: Any, x: float, y: float, color: Any = (1, 1, 1), intensity: Any = 1.0, range: Any = 100.0) -> Light
def add_directional_light(self: Any, color: Any = (1, 1, 1), intensity: Any = 1.0, range: Any = 500.0, *args: tuple, **kwargs: dict) -> Light
def render_shadows_simple(self: Any, renderer: Any, camera: Any) -> Any
def apply_lighting(self: Any, renderer: Any, camera: Any, ambient: float = 0.2, light_power: float = 1.0, saturation: float = 0.5) -> Any
def get_stats(self: Any) -> Any