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... | |
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.
key | - The numeric identifier returned by a previous call to Insert_Spot_Light() . |
x | - The new target location for the light. |
y | - |
z | - |
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.)