8 Managing Lights
Q3Light_GetType
function to get the type of a light object.
TQ3ObjectType Q3Light_GetType (TQ3LightObject light);
light
A light object.
Q3Light_GetType
function returns, as its function result, the type of the light object specified by the light
parameter. The types of light objects currently supported by QuickDraw3D are defined by these constants:
kQ3LightTypeAmbient kQ3LightTypeDirectional kQ3LightTypePoint kQ3LightTypeSpotIf the specified light object is invalid or is not one of these types,
Q3Light_GetType
returns the value kQ3ObjectTypeInvalid
.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker