Reference ‐ RTPointLightSource - 62firelight/manimRT-490 GitHub Wiki

module RTPointLightSource


class RTPointLightSource

A sphere that represents a light source within a scene.

Args:

  • center: The location of the light source's centre.
  • intensity: The intensity of the light source.
  • color: The color of the light source. By default, this is set to yellow.
  • radius: The radius of the light source.

method __init__

__init__(
    center: Union[ndarray[Any, dtype[float64]], Tuple[float, float, float]] = array([0., 0., 0.]),
    intensity: float = 1,
    color: ManimColor = ManimColor('#FFFF00'),
    radius: float = 1,
    **kwargs
) → None

method get_illumination_at

get_illumination_at(point: ndarray | tuple[float]) → float

This file was automatically generated via lazydocs.

⚠️ **GitHub.com Fallback** ⚠️