FMX.Types3D.TMeshData.RayCastIntersect

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function RayCastIntersect(const Width, Height, Depth: Single; const RayPos, RayDir: TPoint3D;  var Intersection: TPoint3D): Boolean; overload;
function RayCastIntersect(const RayPos, RayDir: TPoint3D; var Intersection: TPoint3D): Boolean; overload;

C++

bool __fastcall RayCastIntersect(const float Width, const float Height, const float Depth, const System::Math::Vectors::TPoint3D &RayPos, const System::Math::Vectors::TPoint3D &RayDir, System::Math::Vectors::TPoint3D &Intersection)/* overload */;
bool __fastcall RayCastIntersect(const System::Math::Vectors::TPoint3D &RayPos, const System::Math::Vectors::TPoint3D &RayDir, System::Math::Vectors::TPoint3D &Intersection)/* overload */;

Propriétés

Type Visibilité  Source Unité  Parent
function public
FMX.Types3D.pas
FMX.Types3D.hpp
FMX.Types3D TMeshData


Description

Indique si le rayon donné intersecte la surface 3D désignée par Width, Height et Depth.

RayCastIntersect renvoie aussi les résultats de l'intersection par le biais du paramètre Intersection.

Voir aussi