45 virtual void setOn(
bool bOn) = 0;
48 virtual bool isOn()
const = 0;
51 virtual void setLightType(
unsigned int lightType) = 0;
54 virtual unsigned int lightType()
const = 0;
57 virtual const DtVector& lightPosition()
const = 0;
60 virtual void setLightDirection(
const DtVector& direction) = 0;
63 virtual const DtVector& lightDirection()
const = 0;
66 virtual void setDiffuseColor(
float r,
float g,
float b,
float a) = 0;
69 virtual void setAmbientColor(
float r,
float g,
float b,
float a) = 0;
72 virtual void setSpecularColor(
float r,
float g,
float b,
float a) = 0;
75 virtual void setRange(
float range) = 0;
78 virtual float range()
const = 0;
81 virtual void setAttenuation(
float constant,
float linear,
float quadratic) = 0;
84 virtual void setSpotLightParameters(
float innerAngleDegrees,
float outerAngleDegrees,
float falloff) = 0;
87 virtual void setSensorMask(
unsigned int mask) = 0;
90 virtual unsigned int sensorMask()
const = 0;
DtLightModel(DtDe &de, DtUniqueID id)
CTOR.
Definition: DtLightModel.h:25
DtLightModel is the model interface for light sources. This provides a vrvCore interface to control D...
Definition: DtLightModel.h:21
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
Contains makVrv::DtModel class.
virtual ~DtLightModel()
DTOR.
Definition: DtLightModel.h:30
A model which owns a single model instance. A DtModel is a managing container for a single DtModelIns...
Definition: DtModel.h:57
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
Contains DLL export macros.