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
IEEEFloat(12.566370614359172, allow_none=False).tag(sync=True)
distance
IEEEFloat(0, allow_none=False).tag(sync=True)
decay
IEEEFloat(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 = IEEEFloat(1)

a float

distance = IEEEFloat(0)

a float

power = IEEEFloat(12.566370614359172)

a float

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

an Uninitialized or a LightShadow

type = Unicode('PointLight')

a unicode string