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

Actors are defined by a plane and a rectangle that limits that plane. More...

#include <OgrePlanarReflectionActor.h>

Public Attributes

ArrayVector3 center
 
ArrayReal planeNegD [5]
 Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X plane (west) More...
 
ArrayQuaternion planeNormals
 
ArrayReal xyHalfSize [2]
 

Detailed Description

Actors are defined by a plane and a rectangle that limits that plane.

Planes are normally infinite, but Actors limit them to a rectangle. In 3D, this means a plane has 4 additional planes to limit them (north, west, south & east) To hold those 5 planes, we only need 5 "d" from Plane, and 5 normals (one for the main plane, 2 for north & south, 2 for west & east). However a Quaternion can represent all 5 normals: zAxis is normal, +/- yAxis is north & south, +/- xAxis is west & east.

Member Data Documentation

◆ center

ArrayVector3 Ogre::ArrayActorPlane::center

◆ planeNegD

ArrayReal Ogre::ArrayActorPlane::planeNegD[5]

Arrangement is: 0 = main plane 1 = +Y plane (north) 2 = -Y plane (south) 3 = +X plane (east) 4 = -X plane (west)

◆ planeNormals

ArrayQuaternion Ogre::ArrayActorPlane::planeNormals

◆ xyHalfSize

ArrayReal Ogre::ArrayActorPlane::xyHalfSize[2]

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