Light

from acron.stock import Light
class Light(**props)

Bases: Actor

Base of the stock lights: a Panda light node under the actor, switched on for render; color is the light color.

Inheritance diagram

digraph inheritanced9500b3348 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "Actor" [URL="acron.actor.Actor.html#acron.actor.Actor",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="A thing in the world. See the module docstring."]; "Light" [URL="acron.stock.Light.html#acron.stock.Light",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Base of the stock lights: a Panda light node under the actor, switched"]; "Actor" -> "Light" [arrowsize=0.75,style=""]; }
intensity

A declared property.

type coerces assigned values (Vec3, float, str, bool, a color, or any callable); default may be a value or a zero-arg factory. Flags: edit (shown in the inspector), save (written to the scene file), replicate (networked; on_rep names the callback), pin (exposed as a blueprint pin). fget/fset make the prop a view over engine state (the NodePath transform) instead of stored data. hint / range / doc are metadata for tools.