GINO Graphics Suite - GINO v9.0  

gEnqFacetMaterialProps

Syntax

[C/C++:]
void gEnqFacetMaterialProps(int face, int *amb, int *diff, int *spec, int *emit, float *shine, float *trans);
[F90:]
subroutine gEnqFacetMaterialProps(face, amb, diff, spec, emit, shine, trans)

integer, intent(in) :: face
integer, intent(out) :: amb,diff,spec,emit
real, intent(out) :: shine,trans

Arguments

face
Facet face

= GFRONT, Enquire material properties for front face
= GBACK, Enquire material properties for back face

amb
Ambient reflection colour

diff
Diffuse reflection colour

spec
Specular reflection colour

emit
Emission colour

shine
Specular concentration (shininess) as percentage

trans
Translucence (filtering) (0.0-1.0)

Description

The routine gEnqFacetMaterialProps() returns the current facet material properties as set by the routine gSetFacetMaterialProps().

See Also

gEnqFacetMaterialProps Usage
gSetFacetMaterialProps