#include <PointLight.h>
◆ PointLight() [1/2]
PointLight::PointLight |
( |
| ) |
|
◆ PointLight() [2/2]
PointLight::PointLight |
( |
const PointLight & |
org, |
|
|
bool |
copyStateOnly = false |
|
) |
| |
◆ clone()
Device * PointLight::clone |
( |
| ) |
const |
|
virtual |
◆ cloneState()
◆ constantAttenuation()
float cnoid::PointLight::constantAttenuation |
( |
| ) |
const |
|
inline |
◆ copyStateFrom() [1/2]
void PointLight::copyStateFrom |
( |
const PointLight & |
other | ) |
|
◆ copyStateFrom() [2/2]
void PointLight::copyStateFrom |
( |
const DeviceState & |
other | ) |
|
|
virtual |
◆ forEachActualType()
void PointLight::forEachActualType |
( |
boost::function< bool(const std::type_info &type)> |
func | ) |
|
|
virtual |
◆ linearAttenuation()
float cnoid::PointLight::linearAttenuation |
( |
| ) |
const |
|
inline |
◆ pointLightStateSize()
int PointLight::pointLightStateSize |
( |
| ) |
|
|
static |
◆ quadraticAttenuation()
float cnoid::PointLight::quadraticAttenuation |
( |
| ) |
const |
|
inline |
◆ readState()
const double * PointLight::readState |
( |
const double * |
buf | ) |
|
|
virtual |
- Returns
- The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.
Reimplemented from cnoid::Light.
Reimplemented in cnoid::SpotLight.
◆ setConstantAttenuation()
void cnoid::PointLight::setConstantAttenuation |
( |
float |
a | ) |
|
|
inline |
◆ setLinearAttenuation()
void cnoid::PointLight::setLinearAttenuation |
( |
float |
a | ) |
|
|
inline |
◆ setQuadraticAttenuation()
void cnoid::PointLight::setQuadraticAttenuation |
( |
float |
a | ) |
|
|
inline |
◆ stateSize()
int PointLight::stateSize |
( |
| ) |
const |
|
virtual |
◆ typeName()
const char * PointLight::typeName |
( |
| ) |
|
|
virtual |
◆ writeState()
double * PointLight::writeState |
( |
double * |
out_buf | ) |
const |
|
virtual |
- Returns
- The position in the buf after reading. The value is used when the super class's readState is called by the inherited class.
Reimplemented from cnoid::Light.
Reimplemented in cnoid::SpotLight.
The documentation for this class was generated from the following files: