Show: Delphi C++
Display Preferences

FMX.Types3D.Vector3DToColor

From XE2 API Documentation
Jump to: navigation, search

Delphi

function Vector3DToColor(const AColor: TVector3D): TAlphaColor;

C++

extern PACKAGE System::Uitypes::TAlphaColor __fastcall Vector3DToColor(const TVector3D &AColor);

Properties

Type Visibility Source Unit Parent
function public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D FMX.Types3D

Description

Creates an alpha color based on the X, Y, and Z coordinates of the given 3D vector.

The X, Y, and Z components of the given 3D vector are the variations of the red, green, and blue components, respectively.

The opacity of the alpha color is set to 255 (solid color).

See Also

Personal tools
Previous Versions
Translations