#include <visp3/ar/vpPanda3DLight.h>
Class representing an ambient light.
Ambient light are not physically possible, but are used to emulate light coming from all directions. They do not generate speculars or reflections.
- See also
- https://docs.panda3d.org/1.10/python/reference/panda3d.core.AmbientLight
- Examples
- tutorial-panda3d-renderer.cpp.
Definition at line 109 of file vpPanda3DLight.h.
◆ vpPanda3DAmbientLight()
vpPanda3DAmbientLight::vpPanda3DAmbientLight |
( |
const std::string & |
name, |
|
|
const vpRGBf & |
color |
|
) |
| |
|
inline |
◆ addToScene()
void vpPanda3DAmbientLight::addToScene |
( |
NodePath & |
scene | ) |
const |
|
inlinevirtual |
◆ getColor()
const vpRGBf& vpPanda3DLight::getColor |
( |
| ) |
const |
|
inlineinherited |
◆ getName()
const std::string& vpPanda3DLight::getName |
( |
| ) |
const |
|
inlineinherited |
Get the name of the light.
This name should be unique and will be required when interacting with Panda3D to fetch the node.
Definition at line 78 of file vpPanda3DLight.h.
◆ m_color
vpRGBf vpPanda3DLight::m_color |
|
protectedinherited |
Name of the light. Should be unique in the scene.
Definition at line 95 of file vpPanda3DLight.h.
◆ m_name
std::string vpPanda3DLight::m_name |
|
protectedinherited |