SphereLight

from panda3d.core import SphereLight
class SphereLight

Bases: PointLight

A sphere light is like a point light, except that it represents a sphere with a radius, rather than being an infinitely thin point in space.

New in version 1.10.0.

Inheritance diagram

Inheritance diagram of SphereLight

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getRadius()

C++ Interface: get_radius(SphereLight self)

/**
  • Returns the radius of the sphere.

*/

get_class_type()

C++ Interface: get_class_type()

get_radius()

C++ Interface: get_radius(SphereLight self)

/**
  • Returns the radius of the sphere.

*/

radius
setRadius()

C++ Interface: set_radius(const SphereLight self, float radius)

/**
  • Sets the radius of the sphere.

*/

set_radius()

C++ Interface: set_radius(const SphereLight self, float radius)

/**
  • Sets the radius of the sphere.

*/