Qt 6.x
The Qt SDK
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.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().

◆ intersects

bool QSSGRenderRay::IntersectionResult::intersects = false

Definition at line 62 of file qssgrenderray_p.h.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().

◆ localPosition

QVector3D QSSGRenderRay::IntersectionResult::localPosition

Definition at line 66 of file qssgrenderray_p.h.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().

◆ rayLengthSquared

float QSSGRenderRay::IntersectionResult::rayLengthSquared = 0.

Definition at line 63 of file qssgrenderray_p.h.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().

◆ relXY

QVector2D QSSGRenderRay::IntersectionResult::relXY

Definition at line 64 of file qssgrenderray_p.h.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().

◆ scenePosition

QVector3D QSSGRenderRay::IntersectionResult::scenePosition

Definition at line 65 of file qssgrenderray_p.h.

Referenced by QSSGRenderer::intersectRayWithSubsetRenderable().


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