ForestItem

Engine/source/forest/forestItem.h

More...

Public User Defined

bool
castRay(const Point3F & start, const Point3F & end, RayInfo * outInfo, bool rendered)
bool
buildPolyList(AbstractPolyList * polyList, const Box3F & box, const SphereF & sphere)

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)
bool

Returns true if this is a valid item.

Invalidates the item.

Detailed Description

Public User Defined

castRay(const Point3F & start, const Point3F & end, RayInfo * outInfo, bool rendered)

Collision.

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)