FMX.Controls3D.TControl3D.ObjectAtPoint
Delphi
function ObjectAtPoint(P: TPointF): IControl; virtual;
C++
virtual Fmx::Types::_di_IControl __fastcall ObjectAtPoint(const System::Types::TPointF &P);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Controls3D.pas FMX.Controls3D.hpp |
FMX.Controls3D | TControl3D |
Description
Returns the object located at the given coordinates.
ObjectAtPoint iterates through all the children of this 3D control and returns the component situated at the coordinates given through the P
TPointF parameter.
If the object at the specified coordinates was not found, or is not an IControl, or its state is csDesigning
, then ObjectAtPoint returns nil. Otherwise the object is returned as IControl.