Méthode | Description | |
---|---|---|
GetPickedGeometry ( |
|
Méthode | Description | |
---|---|---|
GetLineSearcher ( DrawMode mode ) : |
||
GetPointSearcher ( DrawMode mode ) : |
||
OnPrimitiveTest ( uint lastVertexId, DrawMode mode ) : bool |
现在,已经判定了鼠标在某个点上。 我需要判定此点是否出现在图元上。 now that I know the mouse is picking on some point, I need to make sure that point should appear.
|
|
PickPoint ( |
||
PickWhateverItIs ( |
||
PickingLastLineInLineLoop ( uint &vertexIds, vec3 &positions ) : void | ||
SearchLine ( |
Search line in triangles/triangle_strip/triangle_fan/ triangles_adjacency/triangle_strip_adjacency/ quads/quad_strip/polygon
|
|
SearchPoint ( |
|
|
ZeroIndexRenderer ( IBufferable model, |
用glDrarArrays进行渲染。
|
public GetPickedGeometry ( |
||
arg | ||
stageVertexId | uint | |
x | int | mouse position(Left Down is (0, 0)). |
y | int | mouse position(Left Down is (0, 0)). |
Résultat |