FMX.Types3D.TContext3D.WorldToScreen
Delphi
function WorldToScreen(const AProj: TProjection; const P: TPoint3D): TPoint3D;
C++
System::Math::Vectors::TPoint3D __fastcall WorldToScreen(const TProjection AProj, const System::Math::Vectors::TPoint3D &P);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | TContext3D |
Description
Converts a 2D point (for instance, mouse coordinates) to a 3D point in a scene.