Class QRayCasterHit

java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.qt3d.render.QRayCasterHit
All Implemented Interfaces:
io.qt.QtObjectInterface, Cloneable

public class QRayCasterHit extends io.qt.QtObject implements Cloneable

Details of a hit when casting a ray through a model

Java wrapper for Qt class Qt3DRender::QRayCasterHit

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Java wrapper for Qt enum Qt3DRender::QRayCasterHit::HitType

    Nested classes/interfaces inherited from class io.qt.QtObject

    io.qt.QtObject.QPrivateConstructor
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.qt.core.QMetaObject
    This variable stores the meta-object for the class.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
     
     
     
     
     
    QRayCasterHit(QRayCasterHit.HitType type, io.qt.qt3d.core.QNodeId id, float distance, io.qt.gui.QVector3D localIntersect, io.qt.gui.QVector3D worldIntersect, int primitiveIndex, int v1, int v2, int v3)
     
    protected
    QRayCasterHit(io.qt.QtObject.QPrivateConstructor p)
    Constructor for internal use only.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    final float
    Returns the distance between the origin of the ray and the intersection point
    final io.qt.qt3d.core.QEntity
    Returns a pointer to the entity that was hit
    final io.qt.qt3d.core.QNodeId
    Returns the id of the entity that was hit
    final io.qt.gui.QVector3D
    Returns the coordinates of the intersection point in the entity's coordinate system
    final int
    Returns the index of the picked primitive
    Returns the type of the hit
    final int
    Returns the index of the first vertex of the picked primitive
    final int
    Returns the index of the second vertex of the picked primitive
    final int
    Returns the index of the third vertex of the picked primitive
    final io.qt.gui.QVector3D
    Returns the coordinates of the intersection point in the model's coordinate system

    Methods inherited from class io.qt.QtObject

    dispose, equals, isDisposed

    Methods inherited from class java.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait