# panda3d.core.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

__init__(name: str) → None
getRadius() → float

Returns the radius of the sphere.

setRadius(radius: float) → None

Sets the radius of the sphere.

static getClassType() → TypeHandle
Return type

TypeHandle

property radius
Getter

Returns the radius of the sphere.

Setter

Sets the radius of the sphere.

Return type

float