class QQuick3DGeometry#

Inheritance diagram of PySide6.QtQuick3D.QQuick3DGeometry

Synopsis#

Methods#

Signals#

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#
class PrimitiveType#
__init__([parent=None])#
Parameters:

parentQQuick3DObject

addAttribute(semantic, offset, componentType)#
Parameters:
  • semanticSemantic

  • offset – int

  • componentTypeComponentType

addAttribute(att)
Parameters:

attAttribute

addSubset(offset, count, boundsMin, boundsMax[, name={}])#
Parameters:
  • offset – int

  • count – int

  • boundsMinQVector3D

  • boundsMaxQVector3D

  • name – str

addTargetAttribute(att)#
Parameters:

attTargetAttribute

addTargetAttribute(targetId, semantic, offset[, stride=0])
Parameters:
  • targetId – int

  • semanticSemantic

  • offset – int

  • stride – int

attribute(index)#
Parameters:

index – int

Return type:

Attribute

attributeCount()#
Return type:

int

boundsMax()#
Return type:

QVector3D

boundsMin()#
Return type:

QVector3D

clear()#
geometryChanged()#
geometryNodeDirty()#
indexData()#
Return type:

QByteArray

primitiveType()#
Return type:

PrimitiveType

setBounds(min, max)#
Parameters:
setIndexData(offset, data)#
Parameters:
setIndexData(data)
Parameters:

dataQByteArray

setPrimitiveType(type)#
Parameters:

typePrimitiveType

setStride(stride)#
Parameters:

stride – int

setTargetData(data)#
Parameters:

dataQByteArray

setTargetData(offset, data)
Parameters:
setVertexData(data)#
Parameters:

dataQByteArray

setVertexData(offset, data)
Parameters:
stride()#
Return type:

int

subsetBoundsMax(subset)#
Parameters:

subset – int

Return type:

QVector3D

subsetBoundsMin(subset)#
Parameters:

subset – int

Return type:

QVector3D

subsetCount()#
Return type:

int

subsetCount(subset)
Parameters:

subset – int

Return type:

int

subsetName(subset)#
Parameters:

subset – int

Return type:

str

subsetOffset(subset)#
Parameters:

subset – int

Return type:

int

targetAttribute(index)#
Parameters:

index – int

Return type:

TargetAttribute

targetAttributeCount()#
Return type:

int

targetData()#
Return type:

QByteArray

vertexData()#
Return type:

QByteArray