UF_VIEW_lights_s (view source)
 
Defined in: uf_view.h
 
Also known as:
 
Overview
The structure UF_VIEW_light_t below is used to define
the light attributes.

For fixed to the part light, the direction is Work Coordinate System based.
For fixed to observer, the direction of light is based on screen space
(which is defined as +x to the right, +y up and +z out of the screen).


Data Members

light_name
UF_VIEW_light_name_t
Light name which is limited to 40
characters. Can be either canned or
user defined

light_type
UF_VIEW_light_type_t
Lights may be of different types as
defined in
UF_VIEW_light_type_t

light_mode
UF_VIEW_light_mode_t
Specifies whether the light is fixed to
the observer or fixed to the part. If
fixed to the part, the light direction
is based on the WCS. For fixed to the
observer, the direction of the light is
based on the screen space (which is
defined as +x to the right, +y up and
+z out of the screen.

location
UF_VIEW_light_source_t
Together with 'to', determines the
direction of the light.

to
UF_VIEW_light_source_t
Together with 'location', determines the
direction of the light.