内容表

上一话题

Qt3DRender.QPickEvent

下一话题

Qt3DRender.QPickPointEvent

Qt3DRender.QPickLineEvent

QPickLineEvent class holds information when a segment of a line is picked. 更多

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QPickLineEvent

New in version 5.10.

详细描述

另请参阅

QPickEvent

class PySide2.Qt3DRender.Qt3DRender. QPickLineEvent

PySide2.Qt3DRender.Qt3DRender.QPickLineEvent(position, worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers)

param worldIntersection

QVector3D

param edgeIndex

uint

param vertex2Index

uint

param modifiers

int

param localIntersection

QVector3D

param vertex1Index

uint

param buttons

int

param distance

float

param position

QPointF

param button

Buttons

构造新 QPickEvent .

PySide2.Qt3DRender.Qt3DRender.QPickLineEvent. edgeIndex ( )
返回类型

uint

Returns the index of the picked edge

PySide2.Qt3DRender.Qt3DRender.QPickLineEvent. vertex1Index ( )
返回类型

uint

Returns the index of the first point of the picked edge

PySide2.Qt3DRender.Qt3DRender.QPickLineEvent. vertex2Index ( )
返回类型

uint

Returns the index of the second point of the picked triangle