Adaptor for adjusting the light direction via mouse interaction. Use ILibrary::CreateObject() to create this object.
Listens to: MousePressed(), MouseDragged(), MouseReleased()
virtual signed int ILightAdjustAdaptor::GetAttachToCamera |
( |
signed int * |
pVal | ) |
|
|
pure virtual |
Gets the AttachToCamera field and puts it in the variable at address pVal. The default value is H_TRUE. H_TRUE means that rotating the camera orientation also rotates the light direction by the same amount and in the same direciton. H_FALSE means that the light direction does not change when the camera location is rotated.
- Parameters
-
pVal | The address of the variable to get the field's value. |
virtual signed int ILightAdjustAdaptor::GetSensitivity |
( |
double * |
pVal | ) |
|
|
pure virtual |
Gets the Sensitivity field and puts it in the variable at address pVal. The default value is 50.
- Parameters
-
pVal | The address of the variable to get the field's value. |
virtual signed int ILightAdjustAdaptor::SetAttachToCamera |
( |
const signed int |
val | ) |
|
|
pure virtual |
Sets the AttachToCamera field to val. The default value is H_TRUE. H_TRUE means that rotating the camera orientation also rotates the light direction by the same amount and in the same direciton. H_FALSE means that the light direction does not change when the camera location is rotated.
- Parameters
-
val | The new AttachToCamera value. |
virtual signed int ILightAdjustAdaptor::SetSensitivity |
( |
const double |
val | ) |
|
|
pure virtual |
Sets the Sensitivity field to val. The default value is 50.
- Parameters
-
val | The new Sensitivity value. |