RPSpotLight

class RPSpotLight

Bases: RPLight

This represents a spot light, a light which has a position, radius, direction and FoV. Checkout the RenderPipeline documentation for more information about this type of light.

Inheritance diagram

digraph inheritanceb286d71df1 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "RPLight" [URL="acron._rplight.RPLight.html#acron._rplight.RPLight",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "ReferenceCount" -> "RPLight" [arrowsize=0.75,style=""]; "RPSpotLight" [URL="acron._rplight.RPSpotLight.html#acron._rplight.RPSpotLight",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "RPLight" -> "RPSpotLight" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; }
RPSpotLight.__init__()

This creates a new spot light with default properties set. You should set at least a direction, fov, radius and position to make the light useful.

RPSpotLight.get_direction()
RPSpotLight.get_fov()
RPSpotLight.get_radius()
RPSpotLight.look_at()
RPSpotLight.set_direction()
RPSpotLight.set_fov()
RPSpotLight.set_radius()