QConeGeometryclass allows creation of a cone in 3D space. * * * * * TheQConeGeometryclass is most commonly used internally by theQConeMesh* but can also be used in customQGeometryRenderersubclasses. The class * allows for creation of both a cone and a truncated cone. 更多 …
def
bottomRadius
()
def
hasBottomEndcap
()
def
hasTopEndcap
()
def
indexAttribute
()
def
length
()
def
normalAttribute
()
def
positionAttribute
()
def
rings
()
def
slices
()
def
texCoordAttribute
()
def
topRadius
()
def
updateIndices
()
def
updateVertices
()
def
setBottomRadius
(bottomRadius)
def
setHasBottomEndcap
(hasBottomEndcap)
def
setHasTopEndcap
(hasTopEndcap)
def
setLength
(length)
def
setRings
(rings)
def
setSlices
(slices)
def
setTopRadius
(topRadius)
def
bottomRadiusChanged
(bottomRadius)
def
hasBottomEndcapChanged
(hasBottomEndcap)
def
hasTopEndcapChanged
(hasTopEndcap)
def
lengthChanged
(length)
def
ringsChanged
(rings)
def
slicesChanged
(slices)
def
topRadiusChanged
(topRadius)
* * * *
PySide2.Qt3DExtras.Qt3DExtras.
QConeGeometry
(
[
parent=None
]
)
¶
parent
–
QNode
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
bottomRadius
(
)
¶
float
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
bottomRadiusChanged
(
bottomRadius
)
¶
bottomRadius
–
float
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasBottomEndcap
(
)
¶
bool
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasBottomEndcapChanged
(
hasBottomEndcap
)
¶
hasBottomEndcap
–
bool
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasTopEndcap
(
)
¶
bool
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
hasTopEndcapChanged
(
hasTopEndcap
)
¶
hasTopEndcap
–
bool
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
indexAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
length
(
)
¶
float
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
lengthChanged
(
length
)
¶
length
–
float
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
normalAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
positionAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
rings
(
)
¶
int
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
ringsChanged
(
rings
)
¶
rings
–
int
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setBottomRadius
(
bottomRadius
)
¶
bottomRadius
–
float
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setHasBottomEndcap
(
hasBottomEndcap
)
¶
hasBottomEndcap
–
bool
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setHasTopEndcap
(
hasTopEndcap
)
¶
hasTopEndcap
–
bool
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
setTopRadius
(
topRadius
)
¶
topRadius
–
float
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
slices
(
)
¶
int
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
slicesChanged
(
slices
)
¶
slices
–
int
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
texCoordAttribute
(
)
¶
QAttribute
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
topRadius
(
)
¶
float
另请参阅
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
topRadiusChanged
(
topRadius
)
¶
topRadius
–
float
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
updateIndices
(
)
¶
Updates indices based on geometry properties.
PySide2.Qt3DExtras.Qt3DExtras.QConeGeometry.
updateVertices
(
)
¶
Updates vertices based on geometry properties.