Functions | |
void | Move_Light_Target (HC_KEY key, double x, double y, double z) |
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 KInsert_Spot_Light() . | |
x | - The new target location for the light. | |
y | - | |
z | - |
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.)