- class QConeGeometry¶
-
Synopsis¶
Properties¶
Methods¶
def
__init__()
def
bottomRadius()
def
hasTopEndcap()
def
indexAttribute()
def
length()
def
rings()
def
slices()
def
topRadius()
def
updateIndices()
def
updateVertices()
Slots¶
def
setLength()
def
setRings()
def
setSlices()
def
setTopRadius()
Signals¶
def
lengthChanged()
def
ringsChanged()
def
slicesChanged()
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¶
Note
Properties can be used directly when
from __feature__ import true_property
is used or via accessor functions otherwise.- property bottomRadiusᅟ: float¶
- Access functions:
- property hasBottomEndcapᅟ: bool¶
- Access functions:
- property hasTopEndcapᅟ: bool¶
- Access functions:
- property indexAttributeᅟ: QAttribute¶
- Access functions:
- property lengthᅟ: float¶
- Access functions:
Signal
lengthChanged()
- property normalAttributeᅟ: QAttribute¶
- Access functions:
- property positionAttributeᅟ: QAttribute¶
- Access functions:
- property ringsᅟ: int¶
- Access functions:
Signal
ringsChanged()
- property slicesᅟ: int¶
- Access functions:
Signal
slicesChanged()
- property texCoordAttributeᅟ: QAttribute¶
- Access functions:
- property topRadiusᅟ: float¶
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
- bottomRadius()¶
- Return type:
float
Getter of property
bottomRadiusᅟ
.- bottomRadiusChanged(bottomRadius)¶
- Parameters:
bottomRadius – float
Notification signal of property
bottomRadiusᅟ
.- hasBottomEndcap()¶
- Return type:
bool
Getter of property
hasBottomEndcapᅟ
.- hasBottomEndcapChanged(hasBottomEndcap)¶
- Parameters:
hasBottomEndcap – bool
Notification signal of property
hasBottomEndcapᅟ
.- hasTopEndcap()¶
- Return type:
bool
Getter of property
hasTopEndcapᅟ
.- hasTopEndcapChanged(hasTopEndcap)¶
- Parameters:
hasTopEndcap – bool
Notification signal of property
hasTopEndcapᅟ
.- indexAttribute()¶
- Return type:
QAttribute
Getter of property
indexAttributeᅟ
.- length()¶
- Return type:
float
Getter of property
lengthᅟ
.- lengthChanged(length)¶
- Parameters:
length – float
Notification signal of property
lengthᅟ
.- normalAttribute()¶
- Return type:
QAttribute
Getter of property
normalAttributeᅟ
.- positionAttribute()¶
- Return type:
QAttribute
Getter of property
positionAttributeᅟ
.- rings()¶
- Return type:
int
Getter of property
ringsᅟ
.- ringsChanged(rings)¶
- Parameters:
rings – int
Notification signal of property
ringsᅟ
.- setBottomRadius(bottomRadius)¶
- Parameters:
bottomRadius – float
Setter of property
bottomRadiusᅟ
.- setHasBottomEndcap(hasBottomEndcap)¶
- Parameters:
hasBottomEndcap – bool
Setter of property
hasBottomEndcapᅟ
.- setHasTopEndcap(hasTopEndcap)¶
- Parameters:
hasTopEndcap – bool
Setter of property
hasTopEndcapᅟ
.- setLength(length)¶
- Parameters:
length – float
Setter of property
lengthᅟ
.- setRings(rings)¶
- Parameters:
rings – int
Setter of property
ringsᅟ
.- setSlices(slices)¶
- Parameters:
slices – int
Setter of property
slicesᅟ
.- setTopRadius(topRadius)¶
- Parameters:
topRadius – float
Setter of property
topRadiusᅟ
.- slices()¶
- Return type:
int
Getter of property
slicesᅟ
.- slicesChanged(slices)¶
- Parameters:
slices – int
Notification signal of property
slicesᅟ
.- texCoordAttribute()¶
- Return type:
QAttribute
Getter of property
texCoordAttributeᅟ
.- topRadius()¶
- Return type:
float
Getter of property
topRadiusᅟ
.- topRadiusChanged(topRadius)¶
- Parameters:
topRadius – float
Notification signal of property
topRadiusᅟ
.- updateIndices()¶
- updateVertices()¶