QSphereMesh

A spherical mesh. More

Synopsis

Functions

Slots

Signals

Detailed Description

* * * * * * *

class PySide2.Qt3DExtras.QSphereMesh([parent=None])
param parent

PySide2.Qt3DCore.QNode

Constructs a new QSphereMesh with parent .

PySide2.Qt3DExtras.QSphereMesh.generateTangents()
Return type

bool

Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.

PySide2.Qt3DExtras.QSphereMesh.generateTangentsChanged(generateTangents)
Parameters

generateTangents – bool

PySide2.Qt3DExtras.QSphereMesh.radius()
Return type

float

Holds the radius of the sphere.

PySide2.Qt3DExtras.QSphereMesh.radiusChanged(radius)
Parameters

radius – float

PySide2.Qt3DExtras.QSphereMesh.rings()
Return type

int

Holds the number of rings in the mesh.

PySide2.Qt3DExtras.QSphereMesh.ringsChanged(rings)
Parameters

rings – int

PySide2.Qt3DExtras.QSphereMesh.setGenerateTangents(gen)
Parameters

gen – bool

Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.

PySide2.Qt3DExtras.QSphereMesh.setRadius(radius)
Parameters

radius – float

Holds the radius of the sphere.

PySide2.Qt3DExtras.QSphereMesh.setRings(rings)
Parameters

rings – int

Holds the number of rings in the mesh.

PySide2.Qt3DExtras.QSphereMesh.setSlices(slices)
Parameters

slices – int

Holds the number of slices in the mesh.

PySide2.Qt3DExtras.QSphereMesh.slices()
Return type

int

Holds the number of slices in the mesh.

PySide2.Qt3DExtras.QSphereMesh.slicesChanged(slices)
Parameters

slices – int