Q3Light_GetType
You can use theQ3Light_GetTypefunction to get the type of a light object.
TQ3ObjectType Q3Light_GetType (TQ3LightObject light);
light- A light object.
DESCRIPTION
TheQ3Light_GetTypefunction returns, as its function result, the type of the light object specified by thelightparameter. The types of light objects currently supported by QuickDraw 3D are defined by these constants:
kQ3LightTypeAmbient kQ3LightTypeDirectional kQ3LightTypePoint kQ3LightTypeSpotIf the specified light object is invalid or is not one of these types,Q3Light_GetTypereturns the valuekQ3ObjectTypeInvalid.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help