Eidolon
Public Member Functions | Public Attributes | List of all members
SceneLight Class Reference

Inherits object.

Collaboration diagram for SceneLight:
Collaboration graph

Public Member Functions

def __init__ (self, light, lighttype, name, position=vec3(), direction=vec3(1, 0, 0))
 
def getName (self)
 
def setLightType (self, lighttype)
 
def setVisible (self, isViz)
 
def setCameraAngles (self, theta, phi)
 
def setSpotValues (self, spotangle, falloff=1.0)
 
def setAttenuation (self, lrange, const, linear, quad)
 
def setPosition (self, pos)
 
def setDirection (self, dirv)
 
def setColor (self, col)
 

Public Attributes

 light
 
 name
 
 theta
 
 phi
 
 lighttype
 
 isVisible
 
 spotangle
 
 falloff
 
 lrange
 
 const
 
 linear
 
 quad
 
 position
 
 direction
 
 color
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  light,
  lighttype,
  name,
  position = vec3(),
  direction = vec3(1,0,0) 
)

Member Function Documentation

◆ getName()

def getName (   self)
Here is the caller graph for this function:

◆ setAttenuation()

def setAttenuation (   self,
  lrange,
  const,
  linear,
  quad 
)
Here is the caller graph for this function:

◆ setCameraAngles()

def setCameraAngles (   self,
  theta,
  phi 
)

◆ setColor()

def setColor (   self,
  col 
)

◆ setDirection()

def setDirection (   self,
  dirv 
)
Here is the caller graph for this function:

◆ setLightType()

def setLightType (   self,
  lighttype 
)
Here is the caller graph for this function:

◆ setPosition()

def setPosition (   self,
  pos 
)
Here is the caller graph for this function:

◆ setSpotValues()

def setSpotValues (   self,
  spotangle,
  falloff = 1.0 
)
Here is the caller graph for this function:

◆ setVisible()

def setVisible (   self,
  isViz 
)
Here is the caller graph for this function:

Member Data Documentation

◆ color

color

◆ const

const

◆ direction

direction

◆ falloff

falloff

◆ isVisible

isVisible

◆ light

light

◆ lighttype

lighttype

◆ linear

linear

◆ lrange

lrange

◆ name

name

◆ phi

phi

◆ position

position

◆ quad

quad

◆ spotangle

spotangle

◆ theta

theta

The documentation for this class was generated from the following file: