class QQuick3DInstancing#

Inheritance diagram of PySide6.QtQuick3D.QQuick3DInstancing

Synopsis#

Properties#

Methods#

Virtual methods#

Slots#

Signals#

Static functions#

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 QmlIsUncreatable#

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property depthSortingEnabledᅟ: bool#
Access functions:
property hasTransparencyᅟ: bool#
Access functions:
property instanceCountOverrideᅟ: int#
Access functions:
__init__([parent=None])#
Parameters:

parentQQuick3DObject

static calculateTableEntry(position, scale, eulerRotation, color[, customData={}])#
Parameters:
Return type:

InstanceTableEntry

static calculateTableEntryFromQuaternion(position, scale, rotation, color[, customData={}])#
Parameters:
Return type:

InstanceTableEntry

depthSortingEnabled()#
Return type:

bool

Getter of property depthSortingEnabledᅟ .

depthSortingEnabledChanged()#

Notification signal of property depthSortingEnabledᅟ .

abstract getInstanceBuffer(instanceCount)#
Parameters:

instanceCount – int

Return type:

QByteArray

hasTransparency()#
Return type:

bool

Getter of property hasTransparencyᅟ .

hasTransparencyChanged()#

Notification signal of property hasTransparencyᅟ .

instanceBuffer(instanceCount)#
Parameters:

instanceCount – int

Return type:

QByteArray

instanceColor(index)#
Parameters:

index – int

Return type:

QColor

instanceCountOverride()#
Return type:

int

Getter of property instanceCountOverrideᅟ .

instanceCountOverrideChanged()#

Notification signal of property instanceCountOverrideᅟ .

instanceCustomData(index)#
Parameters:

index – int

Return type:

QVector4D

instanceNodeDirty()#
instancePosition(index)#
Parameters:

index – int

Return type:

QVector3D

instanceRotation(index)#
Parameters:

index – int

Return type:

QQuaternion

instanceScale(index)#
Parameters:

index – int

Return type:

QVector3D

instanceTableChanged()#
markDirty()#
setDepthSortingEnabled(enabled)#
Parameters:

enabled – bool

Setter of property depthSortingEnabledᅟ .

setHasTransparency(hasTransparency)#
Parameters:

hasTransparency – bool

Setter of property hasTransparencyᅟ .

setInstanceCountOverride(instanceCountOverride)#
Parameters:

instanceCountOverride – int

Setter of property instanceCountOverrideᅟ .