Lights
- class geometries.euc.lights.constDirLight.ConstDirLight.ConstDirLight(color, intensity=1, direction)
Constant local direction
Constructor.
- Arguments:
color (Color) – the color of the light
intensity (number) – the intensity of the light
direction (Vector3) – the direction of the light.
- geometries.euc.lights.constDirLight.ConstDirLight.ConstDirLight.ConstDirLight
Constructor.
- geometries.euc.lights.constDirLight.ConstDirLight.ConstDirLight.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- static geometries.euc.lights.constDirLight.ConstDirLight.ConstDirLight.glslClass()
Return the chunk of GLSL code defining the corresponding structure.
- Returns:
string –
- class geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight(position, color, intensity=1)
Point light
Constructor
- Arguments:
position (Point) – the position of the light
color (Color) – the color of the light
intensity (number) – the intensity of the light
- geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.LocalPointLight
Constructor
- geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.color
type: Color
The color of the light.
- geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.intensity
type: number
The intensity of the light.
- geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.position
type: Point
The position of the light.
- static geometries.euc.lights.localPointLight.LocalPointLight.LocalPointLight.glslClass()
Return the chunk of GLSL code defining the corresponding structure.
- Returns:
string –
- class geometries.euc.lights.pointLight.PointLight.PointLight(position, color, intensity=1)
Point light
Constructor
- Arguments:
position (Point) – the position of the light
color (Color) – the color of the light
intensity (number) – the intensity of the light
- geometries.euc.lights.pointLight.PointLight.PointLight.PointLight
Constructor
- geometries.euc.lights.pointLight.PointLight.PointLight.color
type: Color
The color of the light.
- geometries.euc.lights.pointLight.PointLight.PointLight.intensity
type: number
The intensity of the light.
- geometries.euc.lights.pointLight.PointLight.PointLight.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.euc.lights.pointLight.PointLight.PointLight.position
type: Point
The position of the light.
- static geometries.euc.lights.pointLight.PointLight.PointLight.glslClass()
Return the chunk of GLSL code defining the corresponding structure.
- Returns:
string –