Light¶
from acron.stock import Light
- class Light(**props)¶
Bases:
ActorBase of the stock lights: a Panda light node under the actor, switched on for
render;coloris 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.
typecoerces assigned values (Vec3,float,str,bool, a color, or any callable);defaultmay be a value or a zero-arg factory. Flags:edit(shown in the inspector),save(written to the scene file),replicate(networked;on_repnames the callback),pin(exposed as a blueprint pin).fget/fsetmake the prop a view over engine state (the NodePath transform) instead of stored data.hint/range/docare metadata for tools.