Move_Light_Target

Functions

void Move_Light_Target (HC_KEY key, double x, double y, double z)
 Changes the location towards which a previously inserted "spot light" shines in user coordinates. More...
 

Detailed Description

Function Documentation

◆ Move_Light_Target()

void Move_Light_Target ( HC_KEY  key,
double  x,
double  y,
double  z 
)

Changes the location towards which a previously inserted "spot light" shines in user coordinates.

Parameters
key- The numeric identifier returned by a previous call to Insert_Spot_Light() .
x- The new target location for the light.
y-
z-

DETAILS

Move_Light_Target() allows you to change the current specifications of a spot light's target point so that it will shine towards something new.
Move_Light_Target() does not change the light's location point. If the light was defined in "camera relative" coordinates when created, then Move_Light_Target will also be in camera relative coordinates.
If you define the light in a segment of its own, you can also move it around relative to its previous location by calling modelling transformations like Rotate_Object() and Translate_Object() . (The "object", in this case, is the light.)

NOTES

RESTRICTIONS

See also
Insert_Spot_Light, Translate_Object, Rotate_Object, Rotate_Object_Offaxis.