# OgreBillboardSet.h File Reference

`#include "OgrePrerequisites.h"`
`#include "OgreMovableObject.h"`
`#include "OgreRenderable.h"`
`#include "OgreRadixSort.h"`
`#include "OgreCommon.h"`

Go to the source code of this file.

## Namespaces

namespace | Ogre

## Enumerations

enum | BillboardOrigin { BBO_TOP_LEFT, BBO_TOP_CENTER, BBO_TOP_RIGHT, BBO_CENTER_LEFT, BBO_CENTER, BBO_CENTER_RIGHT, BBO_BOTTOM_LEFT, BBO_BOTTOM_CENTER, BBO_BOTTOM_RIGHT }
| Enum covering what exactly a billboard's position means (center, top-left etc). More...
enum | BillboardRotationType { BBR_VERTEX, BBR_TEXCOORD }
| The rotation type of billboard. More...
enum | BillboardType { BBT_POINT, BBT_ORIENTED_COMMON, BBT_ORIENTED_SELF, BBT_PERPENDICULAR_COMMON, BBT_PERPENDICULAR_SELF }
| The type of billboard to use. More...

## Enumeration Type Documentation

enum Ogre::BillboardOrigin

Enum covering what exactly a billboard's position means (center, top-left etc).

See also:
  BillboardSet::setBillboardOrigin

Enumeration values:

  BBO_TOP_LEFT |
  BBO_TOP_CENTER |
  BBO_TOP_RIGHT |
  BBO_CENTER_LEFT |
  BBO_CENTER |
  BBO_CENTER_RIGHT |
  BBO_BOTTOM_LEFT |
  BBO_BOTTOM_CENTER |
  BBO_BOTTOM_RIGHT |

Definition at line 47 of file OgreBillboardSet.h.

enum Ogre::BillboardRotationType

The rotation type of billboard.

Enumeration values:

  BBR_VERTEX | Rotate the billboard's vertices around their facing direction.
  BBR_TEXCOORD | Rotate the billboard's texture coordinates.

Definition at line 60 of file OgreBillboardSet.h.

enum Ogre::BillboardType

The type of billboard to use.

Enumeration values:

  BBT_POINT | Standard point billboard (default), always faces the camera completely and is always upright.
  BBT_ORIENTED_COMMON | Billboards are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera.
  BBT_ORIENTED_SELF | Billboards are oriented around their own direction vector (their own Y axis) and only rotate around this to face the camera.
  BBT_PERPENDICULAR_COMMON | Billboards are perpendicular to a shared direction vector (used as Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor.
  BBT_PERPENDICULAR_SELF | Billboards are perpendicular to their own direction vector (their own Z axis, the facing direction) and X, Y axis are determined by a shared up-vertor.

Definition at line 68 of file OgreBillboardSet.h.

Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:46:44 2009