Aw float
Jump to navigation
Jump to search
Minimum requirements | ||
---|---|---|
Added in version 2.1 | ||
SDK | build 13 |
float aw_float (AW_ATTRIBUTE a);
Description
Returns a floating point attribute.
Callback
None (returns immediately)
Arguments
- a
- Attribute (defined in Aw.h).
Argument attributes
None
Return values
- 0
- If the attribute is not floating point, or does not exist.
- any
- If successful.
Returned attributes
None.
Usage
Display the current directional light vector.
printf ("The directional light vector is (%g, %g, %g)\n", aw_float (AW_WORLD_LIGHT_X), aw_float (AW_WORLD_LIGHT_Y), aw_float (AW_WORLD_LIGHT_Z));