![]() |
DI-Guy SDK Documentation
13.7
|
Helper class for doing local camera rendering for particle system. More...
Public Member Functions | |
| diguyOsgParticleTransform () | |
| ~diguyOsgParticleTransform () | |
| DTOR. More... | |
| diguyOsgParticleTransform (const diguyOsgParticleTransform &ob, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| Copy CTOR. More... | |
| virtual osg::Object * | clone (const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) |
| Clone this object. More... | |
| virtual bool | computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. More... | |
| virtual bool | computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const |
| Transform to position relative to camera. More... | |
Public Attributes | |
| osg::Vec3d | myCameraPosition |
Helper class for doing local camera rendering for particle system.
| diguyOsgParticleTransform::diguyOsgParticleTransform | ( | ) |
| diguyOsgParticleTransform::~diguyOsgParticleTransform | ( | ) |
DTOR.
| diguyOsgParticleTransform::diguyOsgParticleTransform | ( | const diguyOsgParticleTransform & | ob, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Copy CTOR.
|
virtual |
Clone this object.
|
virtual |
Transform to position relative to camera.
Used here to strip out the translation portion of the view matrix to allow camera relative rendering of instances
|
virtual |
Transform to position relative to camera.
|
mutable |