![]() |
VR-Forces 4.8 Class Documentation
|
Per-instance state information. More...
Public Member Functions | |
| DtInstanceState () | |
| CTOR. More... | |
Public Attributes | |
| osg::Matrixf | l2wOri |
| Local to world orientation matrix. More... | |
| osg::Vec3f | colorFilter |
| Colorization. More... | |
| unsigned short | cullDataOffset |
| Array offset to per-instance cull data. More... | |
| ArrayRange | dofRange |
| Range of instanced DOF nodes in this instance. More... | |
| ArrayRange | switchRange |
| Range of instanced switches in this instance. More... | |
| ArrayRange | sequenceRange |
| Range of instanced sequences in this instance. More... | |
| ArrayRange | drawableRange |
| Range of drawables in this instance. More... | |
| ArrayRange | lodRange |
| Range of LODs in this instance. More... | |
| ArrayRange | lightRange |
| Range of light sources in this instance. More... | |
| ArrayRange | uvOffsetRange |
| Range of UV offsets in this instance. More... | |
| ArrayRange | lightPointRange |
| Range of light points in this instance. More... | |
| unsigned short | templateIndex |
| Index to instance template data for this instance. More... | |
| bool | isModelScalingEnabled |
| Model scaling for the instance. More... | |
| float | scale |
| the individual scale from the model definition More... | |
| osg::Vec3d | basePosition |
| The position of the instance before application of the offset. More... | |
| bool | basePositionDirty |
| If the base position or the position offset have changed or the base orientation have changed, recalculate InstanceCullData::l2wPos (The orientation offset does not affect the position offset). More... | |
| osg::Vec3d | positionOffset |
| The offset to apply to the base position to determine InstanceCullData::l2wPos. More... | |
| bool | positionOffsetDirty |
| If the base position or the position offset have changed or the base orientation have changed, recalculate InstanceCullData::l2wPos (The orientation offset does not affect the position offset). More... | |
| osg::Matrixf | baseOrientation |
| base Local to world orientation matrix More... | |
| bool | baseOrientationDirty |
| A new orientation was set this frame. More... | |
| osg::Matrixf | orientationOffset |
| The current orientation offset to apply to the baseOrientation to determine l2wOri. More... | |
| bool | orientationOffsetDirty |
| A new orientationOffset was set this frame. More... | |
Per-instance state information.
|
inline |
CTOR.
| osg::Matrixf makVrv::DtInstanceState::l2wOri |
Local to world orientation matrix.
Important! This is not valid until after updateOffsetsAndDistancesToEye() has been called.
| osg::Vec3f makVrv::DtInstanceState::colorFilter |
Colorization.
| unsigned short makVrv::DtInstanceState::cullDataOffset |
Array offset to per-instance cull data.
| ArrayRange makVrv::DtInstanceState::dofRange |
Range of instanced DOF nodes in this instance.
Referenced by makVrv::DtInstanceManager::drawableOffsetMatrixIndex().
| ArrayRange makVrv::DtInstanceState::switchRange |
Range of instanced switches in this instance.
| ArrayRange makVrv::DtInstanceState::sequenceRange |
Range of instanced sequences in this instance.
| ArrayRange makVrv::DtInstanceState::drawableRange |
Range of drawables in this instance.
| ArrayRange makVrv::DtInstanceState::lodRange |
Range of LODs in this instance.
| ArrayRange makVrv::DtInstanceState::lightRange |
Range of light sources in this instance.
| ArrayRange makVrv::DtInstanceState::uvOffsetRange |
Range of UV offsets in this instance.
| ArrayRange makVrv::DtInstanceState::lightPointRange |
Range of light points in this instance.
| unsigned short makVrv::DtInstanceState::templateIndex |
Index to instance template data for this instance.
| bool makVrv::DtInstanceState::isModelScalingEnabled |
Model scaling for the instance.
| float makVrv::DtInstanceState::scale |
the individual scale from the model definition
| osg::Vec3d makVrv::DtInstanceState::basePosition |
The position of the instance before application of the offset.
| bool makVrv::DtInstanceState::basePositionDirty |
If the base position or the position offset have changed or the base orientation have changed, recalculate InstanceCullData::l2wPos (The orientation offset does not affect the position offset).
| osg::Vec3d makVrv::DtInstanceState::positionOffset |
The offset to apply to the base position to determine InstanceCullData::l2wPos.
| bool makVrv::DtInstanceState::positionOffsetDirty |
If the base position or the position offset have changed or the base orientation have changed, recalculate InstanceCullData::l2wPos (The orientation offset does not affect the position offset).
| osg::Matrixf makVrv::DtInstanceState::baseOrientation |
base Local to world orientation matrix
| bool makVrv::DtInstanceState::baseOrientationDirty |
A new orientation was set this frame.
| osg::Matrixf makVrv::DtInstanceState::orientationOffset |
The current orientation offset to apply to the baseOrientation to determine l2wOri.
| bool makVrv::DtInstanceState::orientationOffsetDirty |
A new orientationOffset was set this frame.