#include <OgrePlanarReflections.h>
◆ TrackedRenderable()
Ogre::PlanarReflections::TrackedRenderable::TrackedRenderable |
( |
Renderable * |
_renderable, |
|
|
MovableObject * |
_movableObject, |
|
|
const Vector3 & |
_reflNormal, |
|
|
const Vector3 & |
_renderableCenter |
|
) |
| |
|
inline |
- Parameters
-
_renderable | SubItem/SubEntity/etc that will have planar reflections |
_movableObject | Parent of the Renderable (usually Item/Entity/etc, but in some cases the Renderable & MovableObject can be the same class) |
_reflNormal | The 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. |
_renderableCenter | The center of the Renderable, in local space. We'll use this center to determine how close this Renderable is to each Actor. |
◆ 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: