OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::PlanarReflections::TrackedRenderable Struct Reference

#include <OgrePlanarReflections.h>

Public Member Functions

 TrackedRenderable (Renderable *_renderable, MovableObject *_movableObject, const Vector3 &_reflNormal, const Vector3 &_renderableCenter)
 

Public Attributes

uint32 hlmsHashes [2]
 
MovableObjectmovableObject
 
Vector3 reflNormal
 
Renderablerenderable
 
Vector3 renderableCenter
 

Constructor & Destructor Documentation

◆ TrackedRenderable()

Ogre::PlanarReflections::TrackedRenderable::TrackedRenderable ( Renderable _renderable,
MovableObject _movableObject,
const Vector3 _reflNormal,
const Vector3 _renderableCenter 
)
inline
Parameters
_renderableSubItem/SubEntity/etc that will have planar reflections
_movableObjectParent of the Renderable (usually Item/Entity/etc, but in some cases the Renderable & MovableObject can be the same class)
_reflNormalThe predominant normal of the reflection of this Renderable, in local space. We'll use the MovableObject's node transform to convert it to object space. Actors that are close enough and have a direction that resembles enough this reflNormal will be considered.
_renderableCenterThe center of the Renderable, in local space. We'll use this center to determine how close this Renderable is to each Actor.

Member Data Documentation

◆ hlmsHashes

uint32 Ogre::PlanarReflections::TrackedRenderable::hlmsHashes[2]

◆ movableObject

MovableObject* Ogre::PlanarReflections::TrackedRenderable::movableObject

◆ reflNormal

Vector3 Ogre::PlanarReflections::TrackedRenderable::reflNormal

◆ renderable

Renderable* Ogre::PlanarReflections::TrackedRenderable::renderable

◆ renderableCenter

Vector3 Ogre::PlanarReflections::TrackedRenderable::renderableCenter

The documentation for this struct was generated from the following file: