ForestItem
Engine/source/forest/forestItem.h
Public User Defined
Protected Attributes
Public Static Attributes
Public Functions
If we're currently being effected by one or more wind emitters then we hold the results in this class.
bool
canBillboard(const SceneRenderState * state, F32 distToCamera)
getKey()
getSqDistanceToPoint(const Point2F & point)
bool
isValid()
Returns true if this is a valid item.
Invalidates the item.
bool
bool
setData(ForestItemData * data)
setKey(const ForestItemKey & key)
setTransform(const MatrixF & xfm, F32 scale)
Detailed Description
Public User Defined
castRay(const Point3F & start, const Point3F & end, RayInfo * outInfo, bool rendered)
buildPolyList(AbstractPolyList * polyList, const Box3F & box, const SphereF & sphere)
Protected Attributes
ForestItemData * mDataBlock
ForestItemKey mKey
F32 mRadius
F32 mScale
MatrixF mTransform
Box3F mWorldBox
Public Static Attributes
const ForestItem Invalid
Public Functions
ForestItem()
If we're currently being effected by one or more wind emitters then we hold the results in this class.
~ForestItem()
canBillboard(const SceneRenderState * state, F32 distToCamera)
getCenterPoint()
getData()
getKey()
getObjBox()
getPosition()
getRadius()
getScale()
getSize()
getSqDistanceToPoint(const Point2F & point)
getTransform()
getWorldBox()
isValid()
Returns true if this is a valid item.
makeInvalid()
Invalidates the item.
operator!=(const ForestItem & )
operator==(const ForestItem & )
setData(ForestItemData * data)
setKey(const ForestItemKey & key)
setTransform(const MatrixF & xfm, F32 scale)