QQuick3DInstancing#
Synopsis#
Properties#
Functions#
def
depthSortingEnabled
()def
hasTransparency
()def
instanceBuffer
(instanceCount)def
instanceColor
(index)def
instanceCountOverride
()def
instanceCustomData
(index)def
instancePosition
(index)def
instanceRotation
(index)def
instanceScale
(index)def
markDirty
()
Virtual functions#
def
getInstanceBuffer
(instanceCount)
Slots#
def
setDepthSortingEnabled
(enabled)def
setHasTransparency
(hasTransparency)def
setInstanceCountOverride
(instanceCountOverride)
Signals#
def
depthSortingEnabledChanged
()def
hasTransparencyChanged
()def
instanceCountOverrideChanged
()def
instanceNodeDirty
()def
instanceTableChanged
()
Static functions#
def
calculateTableEntry
(position, scale, eulerRotation, color[, customData={}])def
calculateTableEntryFromQuaternion
(position, scale, rotation, color[, customData={}])
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.QtQuick3D.QQuick3DInstancing([parent=None])#
- Parameters:
parent –
PySide6.QtQuick3D.QQuick3DObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtQuick3D.QQuick3DInstancing.depthSortingEnabled: bool#
- Access functions:
setDepthSortingEnabled
(enabled)Signal
depthSortingEnabledChanged
()
- property PᅟySide6.QtQuick3D.QQuick3DInstancing.hasTransparency: bool#
- Access functions:
setHasTransparency
(hasTransparency)Signal
hasTransparencyChanged
()
- property PᅟySide6.QtQuick3D.QQuick3DInstancing.instanceCountOverride: int#
- Access functions:
setInstanceCountOverride
(instanceCountOverride)Signal
instanceCountOverrideChanged
()
- PySide6.QtQuick3D.QQuick3DInstancing.QmlIsUncreatable#
- static PySide6.QtQuick3D.QQuick3DInstancing.calculateTableEntry(position, scale, eulerRotation, color[, customData={}])#
- Parameters:
position –
PySide6.QtGui.QVector3D
scale –
PySide6.QtGui.QVector3D
eulerRotation –
PySide6.QtGui.QVector3D
color –
PySide6.QtGui.QColor
customData –
PySide6.QtGui.QVector4D
- Return type:
- static PySide6.QtQuick3D.QQuick3DInstancing.calculateTableEntryFromQuaternion(position, scale, rotation, color[, customData={}])#
- Parameters:
position –
PySide6.QtGui.QVector3D
scale –
PySide6.QtGui.QVector3D
rotation –
PySide6.QtGui.QQuaternion
color –
PySide6.QtGui.QColor
customData –
PySide6.QtGui.QVector4D
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.depthSortingEnabled()#
- Return type:
bool
Getter of property depthSortingEnabled
.
- PySide6.QtQuick3D.QQuick3DInstancing.depthSortingEnabledChanged()#
Notification signal of property depthSortingEnabled
.
- abstract PySide6.QtQuick3D.QQuick3DInstancing.getInstanceBuffer(instanceCount)#
- Parameters:
instanceCount – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.hasTransparency()#
- Return type:
bool
Getter of property hasTransparency
.
- PySide6.QtQuick3D.QQuick3DInstancing.hasTransparencyChanged()#
Notification signal of property hasTransparency
.
- PySide6.QtQuick3D.QQuick3DInstancing.instanceBuffer(instanceCount)#
- Parameters:
instanceCount – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceColor(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceCountOverride()#
- Return type:
int
Getter of property instanceCountOverride
.
- PySide6.QtQuick3D.QQuick3DInstancing.instanceCountOverrideChanged()#
Notification signal of property instanceCountOverride
.
- PySide6.QtQuick3D.QQuick3DInstancing.instanceCustomData(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceNodeDirty()#
- PySide6.QtQuick3D.QQuick3DInstancing.instancePosition(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceRotation(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceScale(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DInstancing.instanceTableChanged()#
- PySide6.QtQuick3D.QQuick3DInstancing.markDirty()#
- PySide6.QtQuick3D.QQuick3DInstancing.setDepthSortingEnabled(enabled)#
- Parameters:
enabled – bool
Setter of property depthSortingEnabled
.
- PySide6.QtQuick3D.QQuick3DInstancing.setHasTransparency(hasTransparency)#
- Parameters:
hasTransparency – bool
Setter of property hasTransparency
.
- PySide6.QtQuick3D.QQuick3DInstancing.setInstanceCountOverride(instanceCountOverride)#
- Parameters:
instanceCountOverride – int
Setter of property instanceCountOverride
.