irtk.scene.PointLight

class irtk.scene.PointLight(radiance: torch.Tensor | ndarray | List | Tuple, position: torch.Tensor | ndarray | List | Tuple)

A class representing a point light.

__init__(radiance: torch.Tensor | ndarray | List | Tuple, position: torch.Tensor | ndarray | List | Tuple) None

Initializes a PointLight object.

Parameters:
  • radiance – The point light radiance (float).

  • position – The point light position (float).