QCylinderGeometryView#

A cylindrical mesh. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView

Synopsis#

Properties#

Functions#

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#

* * * * * * *

class PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QCylinderGeometryView with parent.

Note

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

property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.length: float#

Holds the length of the cylinder.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.radius: float#

Holds the radius of the cylinder.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.rings: int#

Holds the number of rings in the mesh.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.slices: int#

Holds the number of slices in the mesh.

Access functions:
PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.length()#
Return type:

float

See also

setLength()

Getter of property length .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.lengthChanged(length)#
Parameters:

length – float

Notification signal of property length .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.radius()#
Return type:

float

See also

setRadius()

Getter of property radius .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.radiusChanged(radius)#
Parameters:

radius – float

Notification signal of property radius .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.rings()#
Return type:

int

See also

setRings()

Getter of property rings .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.ringsChanged(rings)#
Parameters:

rings – int

Notification signal of property rings .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.setLength(length)#
Parameters:

length – float

See also

length()

Setter of property length .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.setRadius(radius)#
Parameters:

radius – float

See also

radius()

Setter of property radius .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.setRings(rings)#
Parameters:

rings – int

See also

rings()

Setter of property rings .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.setSlices(slices)#
Parameters:

slices – int

See also

slices()

Setter of property slices .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.slices()#
Return type:

int

See also

setSlices()

Getter of property slices .

PySide6.Qt3DExtras.Qt3DExtras.QCylinderGeometryView.slicesChanged(slices)#
Parameters:

slices – int

Notification signal of property slices .