This reference page is linked to from the following overview topics: Data types & properties.
Picking information structure.
This class holds information related to the picking action on a renderer.
Sample C++ code:
FBPickInfosList lList; FBSystem lSystem; HFBRenderer lRenderer = lSystem.Renderer; lRenderer->Pick( 200, 200, lList ); int lIdx; for( lIdx = 0; lIdx < lList.GetCount(); ++lIdx ) { FBString lName = "aNull "; lName += (char*)lList[lIdx].mModel->Name; HFBModelNull lNull = new FBModelNull( lName ); lNull->Visible = true; lNull->Translation = lList[lIdx].mPoint; }
Definition at line 236 of file fbrenderer.h.
#include <fbrenderer.h>
Public Member Functions |
|
FBPickInfos (HFBModel pModel, FBVector3d pPoint) | |
FBPickInfos. |
|
Public Attributes |
|
HFBModel | mModel |
Model picked. |
|
FBVector3d | mPoint |
Location of the pick on the model. |
FBPickInfos | ( | HFBModel | pModel, |
FBVector3d | pPoint | ||
) | [inline] |
pModel | a handel to the model(HFBModel). |
pPoint | a point (FBVector3d). |
Definition at line 241 of file fbrenderer.h.
HFBModel mModel |
Location of the pick on the model.
Definition at line 243 of file fbrenderer.h.