Q3AmbientLight_GetData |
( TQ3Status ) Q3AmbientLight_GetData ( TQ3LightObject light, TQ3LightData *lightData );
Get the data for an ambient light.
- light
- The light to query.
- lightData
- Receives the data of the light.
Q3AmbientLight_New |
( TQ3LightObject ) Q3AmbientLight_New ( const TQ3LightData *lightData );
Create a new ambient light object.
- lightData
- The data for the light object.
Q3AmbientLight_SetData |
( TQ3Status ) Q3AmbientLight_SetData ( TQ3LightObject light, const TQ3LightData *lightData );
Set the data for an ambient light.
- light
- The light to update.
- lightData
- The new data for the light.
Q3DirectionalLight_GetCastShadowsState |
( TQ3Status ) Q3DirectionalLight_GetCastShadowsState ( TQ3LightObject light, TQ3Boolean *castsShadows );
Get the cast-shadow state of a directional light.
- light
- The light to query.
- castsShadows
- Receives true or false as the light casts shadows.
Q3DirectionalLight_GetData |
( TQ3Status ) Q3DirectionalLight_GetData ( TQ3LightObject light, TQ3DirectionalLightData *directionalLightData );
Get the data for a directional light.
- light
- The light to query.
- directionalLightData
- Receives the data of the light.
Q3DirectionalLight_GetDirection |
( TQ3Status ) Q3DirectionalLight_GetDirection ( TQ3LightObject light, TQ3Vector3D *direction );
Get the direction of a directional light.
- light
- The light to query.
- direction
- Receives the direction of the light.
Q3DirectionalLight_New |
( TQ3LightObject ) Q3DirectionalLight_New ( const TQ3DirectionalLightData *directionalLightData );
Create a new directional light object.
- directionalLightData
- The data for the light object.
Q3DirectionalLight_SetCastShadowsState |
( TQ3Status ) Q3DirectionalLight_SetCastShadowsState ( TQ3LightObject light, TQ3Boolean castsShadows );
Set the cast-shadow state of a directional light.
- light
- The light to update.
- castsShadows
- True or false as the light casts shadows.
Q3DirectionalLight_SetData |
( TQ3Status ) Q3DirectionalLight_SetData ( TQ3LightObject light, const TQ3DirectionalLightData *directionalLightData );
Set the data for a directional light.
- light
- The light to update.
- directionalLightData
- The new data for the light.
Q3DirectionalLight_SetDirection |
( TQ3Status ) Q3DirectionalLight_SetDirection ( TQ3LightObject light, const TQ3Vector3D *direction );
Set the direction of a directional light.
- light
- The light to update.
- direction
- The new direction for the light.
Q3Light_GetBrightness |
( TQ3Status ) Q3Light_GetBrightness ( TQ3LightObject light, float *brightness );
Get the brightness of a light.
- light
- The light to query.
- brightness
- Receives the brightness of the light.
Q3Light_GetColor |
( TQ3Status ) Q3Light_GetColor ( TQ3LightObject light, TQ3ColorRGB *color );
Get the color of a light.
- light
- The light to query.
- color
- Receives the color of the light.
Q3Light_GetData |
( TQ3Status ) Q3Light_GetData ( TQ3LightObject light, TQ3LightData *lightData );
Get the common state of a light.
- light
- The light to query.
- lightData
- Receives the common state of the light.
Q3Light_GetState |
( TQ3Status ) Q3Light_GetState ( TQ3LightObject light, TQ3Boolean *isOn );
Get the on/off state of a light.
- light
- The light to query.
- isOn
- Receives true/false as the light is on.
Q3Light_GetType |
( TQ3ObjectType ) Q3Light_GetType ( TQ3LightObject light );
Get the type of a light.
Returns kQ3ObjectTypeInvalid if the light type is unknown.
- light
- The light to query.
Q3Light_SetBrightness |
( TQ3Status ) Q3Light_SetBrightness ( TQ3LightObject light, float brightness );
Set the brightness of a light.
- light
- The light to update.
- brightness
- The new brightness for the light.
Q3Light_SetColor |
( TQ3Status ) Q3Light_SetColor ( TQ3LightObject light, const TQ3ColorRGB *color );
Set the color of a light.
- light
- The light to update.
- color
- The new color for the light.
Q3Light_SetData |
( TQ3Status ) Q3Light_SetData ( TQ3LightObject light, const TQ3LightData *lightData );
Set the common state for a light.
- light
- The light to update.
- lightData
- The new common state for the light.
Q3Light_SetState |
( TQ3Status ) Q3Light_SetState ( TQ3LightObject light, TQ3Boolean isOn );
Set the on/off state for a light.
- light
- The light to update.
- isOn
- True or false as the light is on.
Q3PointLight_GetAttenuation |
( TQ3Status ) Q3PointLight_GetAttenuation ( TQ3LightObject light, TQ3AttenuationType *attenuation );
Get the attenuation of a point light.
- light
- The light to query.
- attenuation
- Receives the attenuation of the light.
Q3PointLight_GetCastShadowsState |
( TQ3Status ) Q3PointLight_GetCastShadowsState ( TQ3LightObject light, TQ3Boolean *castsShadows );
Get the cast-shadow state of a point light.
- light
- The light to query.
- castsShadows
- Receives true or false as the light casts shadows.
Q3PointLight_GetData |
( TQ3Status ) Q3PointLight_GetData ( TQ3LightObject light, TQ3PointLightData *pointLightData );
Get the data for a point light.
- light
- The light to query.
- pointLightData
- Receives the data of the light.
Q3PointLight_GetLocation |
( TQ3Status ) Q3PointLight_GetLocation ( TQ3LightObject light, TQ3Point3D *location );
Get the location of a point light.
- light
- The light to query.
- location
- Receives the location of the light.
Q3PointLight_GetRadius |
( TQ3Status ) Q3PointLight_GetRadius ( TQ3LightObject light, TQ3Float32 *radius );
Get the radius of a point light.
By default, a point light has a radius of zero, but to achieve a fuzzy borders
of shadows using certain renderers (ray tracers), you can set a radius on the light.
The unit is related with the scale of the scene.
- light
- The light to query.
- radius
- Receives the radius of the light.
Q3PointLight_New |
( TQ3LightObject ) Q3PointLight_New ( const TQ3PointLightData *pointLightData );
Create a new point light object.
- pointLightData
- The data for the light object.
Q3PointLight_SetAttenuation |
( TQ3Status ) Q3PointLight_SetAttenuation ( TQ3LightObject light, TQ3AttenuationType attenuation );
Set the attenuation of a point light.
- light
- The light to update.
- attenuation
- The new attenuation for the light.
Q3PointLight_SetCastShadowsState |
( TQ3Status ) Q3PointLight_SetCastShadowsState ( TQ3LightObject light, TQ3Boolean castsShadows );
Set the cast-shadow state of a point light.
- light
- The light to update.
- castsShadows
- True or false as the light casts shadows.
Q3PointLight_SetData |
( TQ3Status ) Q3PointLight_SetData ( TQ3LightObject light, const TQ3PointLightData *pointLightData );
Set the data for a point light.
- light
- The light to update.
- pointLightData
- The new data for the light.
Q3PointLight_SetLocation |
( TQ3Status ) Q3PointLight_SetLocation ( TQ3LightObject light, const TQ3Point3D *location );
Set the location of a point light.
- light
- The light to update.
- location
- The new location for the light.
Q3PointLight_SetRadius |
( TQ3Status ) Q3PointLight_SetRadius ( TQ3LightObject light, TQ3Float32 radius );
Set the radius of a point light.
By default, a point light has a radius of zero, but to achieve a fuzzy borders
of shadows using certain renderers (ray tracers), you can set a radius on the light.
The unit is related with the scale of the scene.
- light
- The light to update.
- attenuation
- The new radius for the light.
Q3SpotLight_GetAttenuation |
( TQ3Status ) Q3SpotLight_GetAttenuation ( TQ3LightObject light, TQ3AttenuationType *attenuation );
Get the attenuation of a spot light.
- light
- The light to query.
- attenuation
- Receives the attenuation of the light.
Q3SpotLight_GetCastShadowsState |
( TQ3Status ) Q3SpotLight_GetCastShadowsState ( TQ3LightObject light, TQ3Boolean *castsShadows );
Get the cast-shadow state of a spot light.
- light
- The light to query.
- castsShadows
- Receives true or false as the light casts shadows.
Q3SpotLight_GetData |
( TQ3Status ) Q3SpotLight_GetData ( TQ3LightObject light, TQ3SpotLightData *spotLightData );
Get the data for a spot light.
- light
- The light to query.
- spotLightData
- Receives the data of the light.
Q3SpotLight_GetDirection |
( TQ3Status ) Q3SpotLight_GetDirection ( TQ3LightObject light, TQ3Vector3D *direction );
Get the direction of a spot light.
- light
- The light to query.
- direction
- Receives the direction of the light.
Q3SpotLight_GetFallOff |
( TQ3Status ) Q3SpotLight_GetFallOff ( TQ3LightObject light, TQ3FallOffType *fallOff );
Get the fall off of a spot light.
- light
- The light to query.
- fallOff
- Receives the fall off value of the light.
Q3SpotLight_GetHotAngle |
( TQ3Status ) Q3SpotLight_GetHotAngle ( TQ3LightObject light, float *hotAngle );
Get the hot angle of a spot light.
- light
- The light to query.
- hotAngle
- Receives the hot angle of the light.
Q3SpotLight_GetLocation |
( TQ3Status ) Q3SpotLight_GetLocation ( TQ3LightObject light, TQ3Point3D *location );
Get the location of a spot light.
- light
- The light to query.
- location
- Receives the location of the light.
Q3SpotLight_GetOuterAngle |
( TQ3Status ) Q3SpotLight_GetOuterAngle ( TQ3LightObject light, float *outerAngle );
Get the outer angle of a spot light.
- light
- The light to query.
- outerAngle
- Receives the outer angle of the light.
Q3SpotLight_New |
( TQ3LightObject ) Q3SpotLight_New ( const TQ3SpotLightData *spotLightData );
Create a new spot light object.
- spotLightData
- The data for the light object.
Q3SpotLight_SetAttenuation |
( TQ3Status ) Q3SpotLight_SetAttenuation ( TQ3LightObject light, TQ3AttenuationType attenuation );
Set the attenuation for a spot light.
- light
- The light to update.
- attenuation
- The new attenuation for the light.
Q3SpotLight_SetCastShadowsState |
( TQ3Status ) Q3SpotLight_SetCastShadowsState ( TQ3LightObject light, TQ3Boolean castsShadows );
Set the cast-shadow state of a spot light.
- light
- The light to update.
- castsShadows
- True or false as the light casts shadows.
Q3SpotLight_SetData |
( TQ3Status ) Q3SpotLight_SetData ( TQ3LightObject light, const TQ3SpotLightData *spotLightData );
Set the data for a spot light.
- light
- The light to update.
- spotLightData
- The new data for the light.
Q3SpotLight_SetDirection |
( TQ3Status ) Q3SpotLight_SetDirection ( TQ3LightObject light, const TQ3Vector3D *direction );
Set the direction of a spot light.
- light
- The light to update.
- direction
- The new direction for the light.
Q3SpotLight_SetFallOff |
( TQ3Status ) Q3SpotLight_SetFallOff ( TQ3LightObject light, TQ3FallOffType fallOff );
Set the fall off of a spot light.
- light
- The light to update.
- fallOff
- The new fall off value for the light.
Q3SpotLight_SetHotAngle |
( TQ3Status ) Q3SpotLight_SetHotAngle ( TQ3LightObject light, float hotAngle );
Set the hot angle of a spot light.
- light
- The light to update.
- hotAngle
- The new hot angle for the light.
Q3SpotLight_SetLocation |
( TQ3Status ) Q3SpotLight_SetLocation ( TQ3LightObject light, const TQ3Point3D *location );
Set the location for a spot light.
- light
- The light to update.
- location
- The new location for the light.
Q3SpotLight_SetOuterAngle |
( TQ3Status ) Q3SpotLight_SetOuterAngle ( TQ3LightObject light, float outerAngle );
Set the outer angle of a spot light.
- light
- The light to update.
- outerAngle
- The new outer angle for the light.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)