### Navigation

- index
- modules |
- next |
- previous |
- pycollada 0.4 documentation »
- API Reference »

# collada.light.BoundSpotLight

class `collada.light.``BoundSpotLight`(slight, matrix)

  Bases: `collada.light.BoundLight`

  Spot light bound to a scene with transformation. This gets created when a light is instantiated in a scene. Do not create this manually.

  digraph inheritance62d63eb89a { rankdir=LR; size="8.0, 12.0"; "DaeObject" [style="setlinewidth(0.5)",URL="collada.common.DaeObject.html#collada.common.DaeObject",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="This class is the abstract interface to all collada objects.",height=0.25,shape=box,fontsize=10]; "Light" [style="setlinewidth(0.5)",URL="collada.light.Light.html#collada.light.Light",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base light class holding data from <light> tags.",height=0.25,shape=box,fontsize=10]; "DaeObject" -> "Light" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DirectionalLight" [style="setlinewidth(0.5)",URL="collada.light.DirectionalLight.html#collada.light.DirectionalLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Directional light as defined in COLLADA tag <directional> tag.",height=0.25,shape=box,fontsize=10]; "Light" -> "DirectionalLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "AmbientLight" [style="setlinewidth(0.5)",URL="collada.light.AmbientLight.html#collada.light.AmbientLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Ambient light as defined in COLLADA tag <ambient>.",height=0.25,shape=box,fontsize=10]; "Light" -> "AmbientLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PointLight" [style="setlinewidth(0.5)",URL="collada.light.PointLight.html#collada.light.PointLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Point light as defined in COLLADA tag <point>.",height=0.25,shape=box,fontsize=10]; "Light" -> "PointLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SpotLight" [style="setlinewidth(0.5)",URL="collada.light.SpotLight.html#collada.light.SpotLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Spot light as defined in COLLADA tag <spot>.",height=0.25,shape=box,fontsize=10]; "Light" -> "SpotLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BoundLight" [style="setlinewidth(0.5)",URL="collada.light.BoundLight.html#collada.light.BoundLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Base class for bound lights",height=0.25,shape=box,fontsize=10]; "BoundPointLight" [style="setlinewidth(0.5)",URL="collada.light.BoundPointLight.html#collada.light.BoundPointLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Point light bound to a scene with transformation. This gets created when a",height=0.25,shape=box,fontsize=10]; "BoundLight" -> "BoundPointLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BoundSpotLight" [style="setlinewidth(0.5)",URL="#collada.light.BoundSpotLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Spot light bound to a scene with transformation. This gets created when a",height=0.25,shape=box,fontsize=10]; "BoundLight" -> "BoundSpotLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BoundDirectionalLight" [style="setlinewidth(0.5)",URL="collada.light.BoundDirectionalLight.html#collada.light.BoundDirectionalLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Directional light bound to a scene with transformation. This gets created when a",height=0.25,shape=box,fontsize=10]; "BoundLight" -> "BoundDirectionalLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; "BoundAmbientLight" [style="setlinewidth(0.5)",URL="collada.light.BoundAmbientLight.html#collada.light.BoundAmbientLight",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",tooltip="Ambient light bound to a scene with transformation. This gets created when a",height=0.25,shape=box,fontsize=10]; "BoundLight" -> "BoundAmbientLight" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

  `__init__`(slight, matrix)

  Methods

  `__init__`(slight, matrix) |

  `position` = None

    Numpy array of length 3 representing the position of the light in the scene

  `direction` = None

    Direction of the spot light

  `up` = None

    Up vector of the spot light

  `matrix` = None

    Transform matrix for the bound light

  `color` = None

    Either a tuple of size 3 containing the RGB color value of the light or a tuple of size 4 containing the RGBA color value of the light

  `original` = None

    The original `collada.light.SpotLight` this is bound to

### Navigation

- index
- modules |
- next |
- previous |
- pycollada 0.4 documentation »
- API Reference »