Previous Topic Index Next Topic
[API function]

FSOUND_Geometry_Material_GetAttributes

Gets the reflectiveness and transmittance attributes of a material.

signed char F_API FSOUND_Geometry_Material_GetAttributes(
FSOUND_MATERIAL *material,
float *reflectancegain,
float *reflectancefreq,
float *transmittancegain,
float *transmittancefreq
);

Parameters

material Pointer to a valid fsound geometry material to have its attributes returned.
reflectancegain Pointer to a value to receive the reflectance gain.
This can be NULL to ignore. See FSOUND_Geometry_Material_SetAttributes
for a description of the attribute.
reflectancefreq Pointer to a value to receive the reflectance high frequency.
This can be NULL to ignore. See FSOUND_Geometry_Material_SetAttributes
for a description of the attribute.
transmittancegain Pointer to a value to receive the transmittance gain.
This can be NULL to ignore. See FSOUND_Geometry_Material_SetAttributes
for a description of the attribute.
transmittancefreq Pointer to a value to receive the transmittance high frequency.
This can be NULL to ignore. See FSOUND_Geometry_Material_SetAttributes
for a description of the attribute.

Return Value

On success, TRUE is returned.
On failure, FALSE is returned.

Remarks

See Also

FSOUND_Geometry_Material_Create , FSOUND_Geometry_Material_Set , FSOUND_Geometry_Material_SetAttributes

This document copyright ©Firelight Multimedia, 1999-2001. All rights reserved.
Generated Thu Sep 13 00:18:09 2001 by SourceDoc v0.10, the automated source code documenter.