MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / ParticleSystemUpdateValue

Class ParticleSystemUpdateValue

OgreMain/src/OgreParticleSystem.cpp:69–80  ·  view source on GitHub ↗

----------------------------------------------------------------------- Local class for updating based on time

Source from the content-addressed store, hash-verified

67 //-----------------------------------------------------------------------
68 // Local class for updating based on time
69 class ParticleSystemUpdateValue : public ControllerValue<Real>
70 {
71 protected:
72 ParticleSystem *mTarget;
73
74 public:
75 ParticleSystemUpdateValue( ParticleSystem *target ) : mTarget( target ) {}
76
77 Real getValue() const override { return 0; } // N/A
78
79 void setValue( Real value ) override { mTarget->_update( value ); }
80 };
81
82 class ParticleSystemUpdateValueDeterministic : public ControllerValue<Real>
83 {

Callers 1

_notifyAttachedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected