Clarisse 5.0 SP8 SDK  5.0.5.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Public Attributes | List of all members
GeometryObjectDescriptor Struct Reference

Structure holding the information about the origin of a geometry and the material that is affected to it. More...

Public Member Functions

void clear ()
 

Public Attributes

GeometrySourceHierarchy scene_objects
 hierarchy of scene objects from which the geometry is accessed
 
ModuleLightlight
 light from which the intersection belongs to (null in case of geometry)
 
unsigned int light_index
 index of the light from which the intersection belongs to (0 in case of geometry)
 
unsigned int geometry_index
 index of the geometry in the first scene object in the hierarchy
 
unsigned int material_index
 index of the material in the first scene object in the hierarchy
 
unsigned int visibility_index
 index of the visibility attrs overriding object in the scene_objects stack
 
unsigned int local_geometry_index
 index of the geometry in the last scene object hit.
 
const GeometryObjectbase_geometry
 pointer to the base geometry
 
const GeometryObjectdeformed_geometry
 pointer to the deformed geometry
 

Detailed Description

Structure holding the information about the origin of a geometry and the material that is affected to it.