The individual data for a tree. More...
#include <W3DTreeBuffer.h>
Public Attributes | |
| Vector3 | location |
| Drawing location. | |
| Real | scale |
| Scale at location. | |
| Real | sin |
| Sine of the rotation angle at location. | |
| Real | cos |
| Cosine of the rotation angle at location. | |
| Int | treeType |
| Type of tree. | |
| Bool | visible |
| Visible flag, updated each frame. | |
| SphereClass | bounds |
| Bounding sphere for culling to set the visible flag. | |
| Real | sortKey |
| Sort key, essentially the distance along the look at vector. | |
| DrawableID | drawableID |
| Drawable this tree corresponds to. | |
| Real | pushAside |
| Real | pushAsideDelta |
| Real | pushAsideSin |
| Sine of the rotation angle at location. | |
| Real | pushAsideCos |
| Cosine of the rotation angle at location. | |
| ObjectID | pushAsideSource |
| Unit that is pushing us aside. | |
| UnsignedInt | lastFrameUpdated |
| Last frame push aside was updated. | |
| Int | nextInPartition |
| Int | swayType |
| Which sway array entry we are using. | |
| Int | firstIndex |
| First index in the vertex buffer for this tree. | |
| Int | bufferNdx |
| Which vertex buffer this is in. | |
| Real | m_angularVelocity |
| Velocity in degrees per frame (or is it radians per frame?) | |
| Real | m_angularAcceleration |
| Acceleration angularVelocity is increasing. | |
| Coord3D | m_toppleDirection |
| Z-less direction we are toppling. | |
| W3DToppleState | m_toppleState |
| Stage this module is in. | |
| Real | m_angularAccumulation |
| How much have I rotated so I know when to bounce. | |
| UnsignedInt | m_options |
| topple options | |
| Matrix3D | m_mtx |
| UnsignedInt | m_sinkFramesLeft |
| Toppled trees sink into the terrain & disappear, how many frames left. | |
The individual data for a tree.
Definition at line 90 of file W3DTreeBuffer.h.
| SphereClass TTree::bounds |
Bounding sphere for culling to set the visible flag.
Definition at line 97 of file W3DTreeBuffer.h.
| Int TTree::bufferNdx |
Which vertex buffer this is in.
Definition at line 114 of file W3DTreeBuffer.h.
| Real TTree::cos |
Cosine of the rotation angle at location.
Definition at line 94 of file W3DTreeBuffer.h.
| DrawableID TTree::drawableID |
Drawable this tree corresponds to.
Definition at line 99 of file W3DTreeBuffer.h.
| Int TTree::firstIndex |
First index in the vertex buffer for this tree.
Definition at line 113 of file W3DTreeBuffer.h.
| UnsignedInt TTree::lastFrameUpdated |
Last frame push aside was updated.
Definition at line 107 of file W3DTreeBuffer.h.
| Vector3 TTree::location |
Drawing location.
Definition at line 91 of file W3DTreeBuffer.h.
| Real TTree::m_angularAcceleration |
Acceleration angularVelocity is increasing.
Definition at line 118 of file W3DTreeBuffer.h.
| Real TTree::m_angularAccumulation |
How much have I rotated so I know when to bounce.
Definition at line 121 of file W3DTreeBuffer.h.
| Real TTree::m_angularVelocity |
Velocity in degrees per frame (or is it radians per frame?)
Definition at line 117 of file W3DTreeBuffer.h.
| Matrix3D TTree::m_mtx |
Definition at line 123 of file W3DTreeBuffer.h.
| UnsignedInt TTree::m_options |
topple options
Definition at line 122 of file W3DTreeBuffer.h.
| UnsignedInt TTree::m_sinkFramesLeft |
Toppled trees sink into the terrain & disappear, how many frames left.
Definition at line 124 of file W3DTreeBuffer.h.
| Coord3D TTree::m_toppleDirection |
Z-less direction we are toppling.
Definition at line 119 of file W3DTreeBuffer.h.
| W3DToppleState TTree::m_toppleState |
Stage this module is in.
Definition at line 120 of file W3DTreeBuffer.h.
| Int TTree::nextInPartition |
Definition at line 109 of file W3DTreeBuffer.h.
| Real TTree::pushAside |
Definition at line 101 of file W3DTreeBuffer.h.
| Real TTree::pushAsideCos |
Cosine of the rotation angle at location.
Definition at line 104 of file W3DTreeBuffer.h.
| Real TTree::pushAsideDelta |
Definition at line 102 of file W3DTreeBuffer.h.
| Real TTree::pushAsideSin |
Sine of the rotation angle at location.
Definition at line 103 of file W3DTreeBuffer.h.
| ObjectID TTree::pushAsideSource |
Unit that is pushing us aside.
Definition at line 105 of file W3DTreeBuffer.h.
| Real TTree::scale |
Scale at location.
Definition at line 92 of file W3DTreeBuffer.h.
| Real TTree::sin |
Sine of the rotation angle at location.
Definition at line 93 of file W3DTreeBuffer.h.
| Real TTree::sortKey |
Sort key, essentially the distance along the look at vector.
Definition at line 98 of file W3DTreeBuffer.h.
| Int TTree::swayType |
Which sway array entry we are using.
Definition at line 111 of file W3DTreeBuffer.h.
| Int TTree::treeType |
Type of tree.
Definition at line 95 of file W3DTreeBuffer.h.
| Bool TTree::visible |
Visible flag, updated each frame.
Definition at line 96 of file W3DTreeBuffer.h.