Struct opengex::structure::GeometryObject
[−]
[src]
pub struct GeometryObject { pub visible: bool, pub casts_shadows: bool, pub motion_blur: bool, pub meshes: VecMap<Mesh>, pub morphs: VecMap<Morph>, }
The GeometryObject
structure contains data for a geometry object. Multiple GeometryNode
structures may reference a single GeometryObject
. This allows a scene to contain multiple
instances of the same geometry with different transforms and materials.
The colors
and textures
properties are for application-specfic use.
Fields
visible: bool
Whether this geometry is visible. Can be overriden by any GeometryNode
structure
referencing this geometry.
casts_shadows: bool
Whether this geometry casts shadows. Can be overriden by any GeometryNode
structure
referencing this geometry.
motion_blur: bool
Whether this geometry is rendered with motion blur. Can be overriden by any GeometryNode
structure referencing this geometry.
meshes: VecMap<Mesh>
A mesh for every level of detail. The map is indexed by the level of detail.
morphs: VecMap<Morph>
May contain a Morph
structure for each morph target for which vertex data exists inside
the Mesh
structures in meshes
. The key of the HashMap
is their target index.