HC_Move_Light_Target

void HC_Move_Light_Target(Key key, double x, double y, double z)
void HC_Move_Light_Target(Key key, double x, double y, double z)

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

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.)

HC_Insert_Spot_Light, HC_Translate_Object, HC_Rotate_Object, HC_Rotate_Object_Offaxis.

Parameters

key: The numeric identifier returned by a previous call to Insert_Spot_Light() .

x: The new target location for the light.

y:

z: