All Frameworks  Class Hierarchy  This Framework  Indexes

SPArbase Global Function api_rh_set_material_reflection


outcome api_rh_set_material_reflection(ENTITY_LIST const& entity_list,
double ambient,
double diffuse,
double specular,
double exponent)
Sets the reflection properties in the material associated with a geometric entity.

Role: This API sets the reflection properties in the material associated with a geometric entity.Geometric entities must be of the type BODY, LUMP, SHELL, or FACE.

Effect: Changes model

Journal: Not Available

Parameters:
entity_list
list of entities to be set.
ambient
ambient light value.
diffuse
diffuse light value.
specular
specular light value.
exponent
exponent value.

This object is included in the file: rnd_api.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.