QConeMesh#

A conical mesh. More

Inheritance diagram of PySide6.Qt3DExtras.Qt3DExtras.QConeMesh

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.QConeMesh([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Note

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

property PᅟySide6.Qt3DExtras.Qt3DExtras.QConeMesh.bottomRadius: float#

Holds the bottom radius of the cone.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasBottomEndcap: bool#

Determines if the cone bottom is capped or open.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasTopEndcap: bool#

Determines if the cone top is capped or open.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QConeMesh.length: float#

Holds the length of the cone.

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

Holds the number of rings in the mesh.

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

Holds the number of slices in the mesh.

Access functions:
property PᅟySide6.Qt3DExtras.Qt3DExtras.QConeMesh.topRadius: float#

Holds the top radius of the cone.

Access functions:
PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.bottomRadius()#
Return type:

float

Getter of property bottomRadius .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.bottomRadiusChanged(bottomRadius)#
Parameters:

bottomRadius – float

Notification signal of property bottomRadius .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasBottomEndcap()#
Return type:

bool

Getter of property hasBottomEndcap .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasBottomEndcapChanged(hasBottomEndcap)#
Parameters:

hasBottomEndcap – bool

Notification signal of property hasBottomEndcap .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasTopEndcap()#
Return type:

bool

Getter of property hasTopEndcap .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.hasTopEndcapChanged(hasTopEndcap)#
Parameters:

hasTopEndcap – bool

Notification signal of property hasTopEndcap .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.length()#
Return type:

float

See also

setLength()

Getter of property length .

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

length – float

Notification signal of property length .

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

int

See also

setRings()

Getter of property rings .

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

rings – int

Notification signal of property rings .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.setBottomRadius(bottomRadius)#
Parameters:

bottomRadius – float

See also

bottomRadius()

Setter of property bottomRadius .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.setHasBottomEndcap(hasBottomEndcap)#
Parameters:

hasBottomEndcap – bool

Setter of property hasBottomEndcap .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.setHasTopEndcap(hasTopEndcap)#
Parameters:

hasTopEndcap – bool

See also

hasTopEndcap()

Setter of property hasTopEndcap .

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

length – float

See also

length()

Setter of property length .

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

rings – int

See also

rings()

Setter of property rings .

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

slices – int

See also

slices()

Setter of property slices .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.setTopRadius(topRadius)#
Parameters:

topRadius – float

See also

topRadius()

Setter of property topRadius .

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

int

See also

setSlices()

Getter of property slices .

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

slices – int

Notification signal of property slices .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.topRadius()#
Return type:

float

See also

setTopRadius()

Getter of property topRadius .

PySide6.Qt3DExtras.Qt3DExtras.QConeMesh.topRadiusChanged(topRadius)#
Parameters:

topRadius – float

Notification signal of property topRadius .