OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
MWRender::Animation::AnimPriority Struct Reference

Holds an animation priority value for each BoneGroup. More...

#include <animation.hpp>

Collaboration diagram for MWRender::Animation::AnimPriority:

Public Member Functions

 AnimPriority (int priority)
 Convenience constructor, initialises all priorities to the same value. More...
 
bool operator== (const AnimPriority &other) const
 
intoperator[] (BoneGroup n)
 
const intoperator[] (BoneGroup n) const
 
bool contains (int priority) const
 

Public Attributes

int mPriority [sNumBlendMasks]
 

Detailed Description

Holds an animation priority value for each BoneGroup.

Constructor & Destructor Documentation

MWRender::Animation::AnimPriority::AnimPriority ( int  priority)
inline

Convenience constructor, initialises all priorities to the same value.

Member Function Documentation

bool MWRender::Animation::AnimPriority::contains ( int  priority) const
inline
bool MWRender::Animation::AnimPriority::operator== ( const AnimPriority other) const
inline
int& MWRender::Animation::AnimPriority::operator[] ( BoneGroup  n)
inline
const int& MWRender::Animation::AnimPriority::operator[] ( BoneGroup  n) const
inline

Member Data Documentation

int MWRender::Animation::AnimPriority::mPriority[sNumBlendMasks]

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