nw::lyt::FindHitPane FunctionPane * FindHitPane( Pane * pPane, const math::VEC2 & pos ); Pane * FindHitPane( Layout * pLayout, const math::VEC2 & pos );
| FindHitPane ( Pane *, const math::VEC2 & ) | Searches for panes that include a given point. |
| FindHitPane ( Layout *, const math::VEC2 & ) | Searches for panes that include a given point. |
Searches for bounding panes that include the point given by pos. The search is performed in the reverse order that panes are rendered. Hidden panes and their children are not searched.
Searches for panes by taking the pane given by pPane as the root.
Searches for bounding panes that include the point given by pos. The search is performed in the reverse order that panes are rendered. Hidden panes and their children are not searched.
Takes all panes in the layout as search targets.
Since the matrix values calculated by Pane::CalculateMtx are used, Pane::CalculateMtx must be called before calling this function.
This function assumes that the values of the x and y for pane rotation are zero. Correct determination is impossible for values other than zero.
CONFIDENTIAL