FMX.Controls3D.TRenderingCompare.Compare
Delphi
function Compare(const Left, Right: TControl3D): Integer; override;
C++
virtual int __fastcall Compare(TControl3D* const Left, TControl3D* const Right);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Controls3D.pas FMX.Controls3D.hpp |
FMX.Controls3D | TRenderingCompare |
Description
Compare two 3D objects to decide which should be rendered first.
The Left
and Right
parameters specify the two TControl3D objects to be compared.
The return value of Compare must be in the following ranges.
Return value | Description |
---|---|
Result is less than zero (<0). |
|
Result is equal to zero (=0). |
|
Result is greater than zero (>0). |
|