Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QSSGRenderRay::IntersectionResult Struct Reference

#include <qssgrenderray_p.h>

+ Collaboration diagram for QSSGRenderRay::IntersectionResult:

Public Member Functions

 IntersectionResult ()=default
 
constexpr IntersectionResult (float rl, const QVector2D &relxy, const QVector3D &scenePosition, const QVector3D &localPosition, const QVector3D &normal)
 

Public Attributes

bool intersects = false
 
float rayLengthSquared = 0.
 
QVector2D relXY
 
QVector3D scenePosition
 
QVector3D localPosition
 
QVector3D faceNormal
 

Detailed Description

Definition at line 60 of file qssgrenderray_p.h.

Constructor & Destructor Documentation

◆ IntersectionResult() [1/2]

QSSGRenderRay::IntersectionResult::IntersectionResult ( )
default

◆ IntersectionResult() [2/2]

constexpr QSSGRenderRay::IntersectionResult::IntersectionResult ( float rl,
const QVector2D & relxy,
const QVector3D & scenePosition,
const QVector3D & localPosition,
const QVector3D & normal )
inlineconstexpr

Definition at line 69 of file qssgrenderray_p.h.

Member Data Documentation

◆ faceNormal

QVector3D QSSGRenderRay::IntersectionResult::faceNormal

Definition at line 67 of file qssgrenderray_p.h.

◆ intersects

bool QSSGRenderRay::IntersectionResult::intersects = false

Definition at line 62 of file qssgrenderray_p.h.

◆ localPosition

QVector3D QSSGRenderRay::IntersectionResult::localPosition

Definition at line 66 of file qssgrenderray_p.h.

◆ rayLengthSquared

float QSSGRenderRay::IntersectionResult::rayLengthSquared = 0.

Definition at line 63 of file qssgrenderray_p.h.

◆ relXY

QVector2D QSSGRenderRay::IntersectionResult::relXY

Definition at line 64 of file qssgrenderray_p.h.

◆ scenePosition

QVector3D QSSGRenderRay::IntersectionResult::scenePosition

Definition at line 65 of file qssgrenderray_p.h.


The documentation for this struct was generated from the following file: