Link Search Menu Expand Document

Class OGLDirLight

About :

	A directional light is a ligth at an infinite position but sending ligth in a given direction The sun can be modelled with a directional light
Class diagram of class of OGLDirLight.

Functions

Function summury
__init__(self, key=None)  
set_direction(self, direction=(0, 0, -1)) Set direction (more…)
__str__(self) To string translator (more…)

Methods desciption :

init

def __init__(self, key=None)

set_direction

def set_direction(self, direction=(0, 0, -1))

Set direction

  • → direction : a 3D tuple

str

def __str__(self)

To string translator