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

Method setDefaultHeight

OgreMain/src/OgreParticleSystem.cpp:975–983  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

973 Real ParticleSystem::getDefaultWidth() const { return mDefaultWidth; }
974 //-----------------------------------------------------------------------
975 void ParticleSystem::setDefaultHeight( Real height )
976 {
977 assert( height >= 0 && "Particle dimensions can not be negative" );
978 mDefaultHeight = height;
979 if( mRenderer )
980 {
981 mRenderer->_notifyDefaultDimensions( mDefaultWidth, mDefaultHeight );
982 }
983 }
984 //-----------------------------------------------------------------------
985 Real ParticleSystem::getDefaultHeight() const { return mDefaultHeight; }
986 //-----------------------------------------------------------------------

Callers 1

doSetMethod · 0.45

Calls 1

Tested by

no test coverage detected