class QRayCaster

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QRayCaster

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property directionᅟ: QVector3D
Access functions:
property lengthᅟ: float
Access functions:
property originᅟ: QVector3D
Access functions:
__init__([parent=None])
Parameters:

parentQNode

direction()
Return type:

QVector3D

Getter of property directionᅟ .

directionChanged(direction)
Parameters:

directionQVector3D

Notification signal of property directionᅟ .

length()
Return type:

float

Getter of property lengthᅟ .

lengthChanged(length)
Parameters:

length – float

Notification signal of property lengthᅟ .

origin()
Return type:

QVector3D

Getter of property originᅟ .

originChanged(origin)
Parameters:

originQVector3D

Notification signal of property originᅟ .

pick(origin, direction, length)
Parameters:
Return type:

.list of Qt3DRender.QRayCasterHit

setDirection(direction)
Parameters:

directionQVector3D

Setter of property directionᅟ .

setLength(length)
Parameters:

length – float

Setter of property lengthᅟ .

setOrigin(origin)
Parameters:

originQVector3D

Setter of property originᅟ .

trigger()
trigger(origin, direction, length)
Parameters: