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 248 of file fbrenderer.h.
#include <fbrenderer.h>
Public Member Functions |
|
| FBPickInfos (FBModel *pModel, FBVector3d pPoint) | |
| FBPickInfos. |
|
Public Attributes |
|
| FBModel * | mModel |
| Model picked. |
|
| FBVector3d | mPoint |
| Location of the pick on the model. |
|
| FBPickInfos | ( | FBModel * | pModel, |
| FBVector3d | pPoint | ||
| ) | [inline] |
| pModel | a handel to the model(FBModel*). |
| pPoint | a point (FBVector3d). |
Definition at line 253 of file fbrenderer.h.
Location of the pick on the model.
Definition at line 255 of file fbrenderer.h.