QSphereMesh露

A spherical mesh. More鈥�

Inheritance diagram of PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

* * * * * * *

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

Constructs a new QSphereMesh with parent .

PySide2.Qt3DExtras.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.Qt3DExtras.QSphereMesh.generateTangentsChanged(generateTangents)露
Parameters:

generateTangents 鈥� bool

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.radius()露
Return type:

float

Holds the radius of the sphere.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.radiusChanged(radius)露
Parameters:

radius 鈥� float

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.rings()露
Return type:

int

Holds the number of rings in the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.ringsChanged(rings)露
Parameters:

rings 鈥� int

PySide2.Qt3DExtras.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.Qt3DExtras.QSphereMesh.setRadius(radius)露
Parameters:

radius 鈥� float

Holds the radius of the sphere.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.setRings(rings)露
Parameters:

rings 鈥� int

Holds the number of rings in the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.setSlices(slices)露
Parameters:

slices 鈥� int

Holds the number of slices in the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.slices()露
Return type:

int

Holds the number of slices in the mesh.

PySide2.Qt3DExtras.Qt3DExtras.QSphereMesh.slicesChanged(slices)露
Parameters:

slices 鈥� int