内容表

上一话题

Qt3DRender.QPickLineEvent

下一话题

Qt3DRender.QPickTriangleEvent

Qt3DRender.QPickPointEvent

QPickPointEvent class holds information when a segment of a point cloud is picked. 更多

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QPickPointEvent

New in version 5.10.

概要

函数

详细描述

另请参阅

QPickEvent

class PySide2.Qt3DRender.Qt3DRender. QPickPointEvent

PySide2.Qt3DRender.Qt3DRender.QPickPointEvent(position, worldIntersection, localIntersection, distance, pointIndex, button, buttons, modifiers)

param worldIntersection

QVector3D

param pointIndex

uint

param modifiers

int

param localIntersection

QVector3D

param buttons

int

param distance

float

param position

QPointF

param button

Buttons

构造新 QPickPointEvent .

PySide2.Qt3DRender.Qt3DRender.QPickPointEvent. pointIndex ( )
返回类型

uint

Returns the index of the picked point