gz/rendering/ogre2/Ogre2Heightmap.hh
Go to the documentation of this file.
Definition: gz/rendering/base/BaseHeightmap.hh:33
Describes how a Heightmap should be loaded.
Definition: gz/rendering/HeightmapDescriptor.hh:147
Ogre implementation of a heightmap geometry.
Definition: gz/rendering/ogre2/Ogre2Heightmap.hh:52
virtual Ogre::MovableObject * OgreObject() const override
Returns the Terra pointer as it is a movable object that must be attached to a regular SceneNode.
virtual void SetMaterial(MaterialPtr _material, bool _unique) override
Has no effect for heightmaps. The material is set through a HeightmapDescriptor.
virtual void PreRender() override
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual MaterialPtr Material() const override
Returns NULL, heightmap materials don't inherit from MaterialPtr.
void UpdateForRender(Ogre::Camera *_activeCamera)
Ogre2Heightmap(const HeightmapDescriptor &_desc)
Constructor.
Ogre::Terra * Terra()
virtual void Init() override
Definition: gz/rendering/ogre/OgreScene.hh:41
Definition: gz/rendering/ogre/OgreCamera.hh:28