PointLight

class pythreejs.PointLight(color="#ffffff", intensity=1, distance=0, decay=1)[source]

PointLight

Autogenerated by generate-wrappers.js See https://threejs.org/docs/#api/lights/PointLight

Inherits Light.

Three.js docs: https://threejs.org/docs/#api/lights/PointLight

power
CFloat(12.566370614359172, allow_none=False).tag(sync=True)
distance
CFloat(0, allow_none=False).tag(sync=True)
decay
CFloat(1, allow_none=False).tag(sync=True)
shadow
Union([
    Instance(Uninitialized),
    Instance(LightShadow),
    ], default_value=UninitializedSentinel, allow_none=False).tag(sync=True, **unitialized_serialization)
type
Unicode("PointLight", allow_none=False).tag(sync=True)
decay = CFloat(1)

a float

distance = CFloat(0)

a float

power = CFloat(12.566370614359172)

a float

shadow = Union(<pythreejs.traits.Uninitialized object at 0x7fd6464ac320>)

an Uninitialized or a LightShadow

type = Unicode('PointLight')

a unicode string