API Reference > Classes > OdBmGenericAppearanceSchemaReflectivity Class > OdBmGenericAppearanceSchemaReflectivity Methods > OdBmGenericAppearanceSchemaReflectivity::getDirect Method
OdBmGenericAppearanceSchemaReflectivity::getDirect Method
Syntax
C++
OdResult getDirect(double&) const;
Parameters 
Description 
double 
[out] Output A double value that contains a factor between 0 (no reflections) and 1 (maximum reflections).  

An OdResult value: eOk if schema contains reflectivity, eNotApplicable if not.

Retrieves a factor of light reflection of the material when the surface is directly facing the camera. 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.