QQuick3DGeometry#
Synopsis#
Functions#
def
addAttribute
(att)def
addAttribute
(semantic, offset, componentType)def
addSubset
(offset, count, boundsMin, boundsMax[, name={}])def
addTargetAttribute
(att)def
addTargetAttribute
(targetId, semantic, offset[, stride=0])def
attribute
(index)def
attributeCount
()def
boundsMax
()def
boundsMin
()def
clear
()def
indexData
()def
primitiveType
()def
setBounds
(min, max)def
setIndexData
(data)def
setIndexData
(offset, data)def
setPrimitiveType
(type)def
setStride
(stride)def
setTargetData
(data)def
setTargetData
(offset, data)def
setVertexData
(data)def
setVertexData
(offset, data)def
stride
()def
subsetBoundsMax
(subset)def
subsetBoundsMin
(subset)def
subsetCount
()def
subsetCount
(subset)def
subsetName
(subset)def
subsetOffset
(subset)def
targetAttribute
(index)def
targetAttributeCount
()def
targetData
()def
vertexData
()
Signals#
def
geometryNodeDirty
()
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.QQuick3DGeometry([parent=None])#
- Parameters:
parent –
PySide6.QtQuick3D.QQuick3DObject
- PySide6.QtQuick3D.QQuick3DGeometry.QmlIsUncreatable#
- PySide6.QtQuick3D.QQuick3DGeometry.PrimitiveType#
- PySide6.QtQuick3D.QQuick3DGeometry.addAttribute(att)#
- Parameters:
- PySide6.QtQuick3D.QQuick3DGeometry.addAttribute(semantic, offset, componentType)
- Parameters:
semantic –
Semantic
offset – int
componentType –
ComponentType
- PySide6.QtQuick3D.QQuick3DGeometry.addSubset(offset, count, boundsMin, boundsMax[, name={}])#
- Parameters:
offset – int
count – int
boundsMin –
PySide6.QtGui.QVector3D
boundsMax –
PySide6.QtGui.QVector3D
name – str
- PySide6.QtQuick3D.QQuick3DGeometry.addTargetAttribute(att)#
- Parameters:
- PySide6.QtQuick3D.QQuick3DGeometry.addTargetAttribute(targetId, semantic, offset[, stride=0])
- Parameters:
targetId – int
semantic –
Semantic
offset – int
stride – int
- PySide6.QtQuick3D.QQuick3DGeometry.attribute(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.attributeCount()#
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.boundsMax()#
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.boundsMin()#
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.clear()#
- PySide6.QtQuick3D.QQuick3DGeometry.geometryNodeDirty()#
- PySide6.QtQuick3D.QQuick3DGeometry.indexData()#
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.primitiveType()#
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.setBounds(min, max)#
- Parameters:
min –
PySide6.QtGui.QVector3D
max –
PySide6.QtGui.QVector3D
- PySide6.QtQuick3D.QQuick3DGeometry.setIndexData(data)#
- Parameters:
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.setIndexData(offset, data)
- Parameters:
offset – int
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.setPrimitiveType(type)#
- Parameters:
type –
PrimitiveType
- PySide6.QtQuick3D.QQuick3DGeometry.setStride(stride)#
- Parameters:
stride – int
- PySide6.QtQuick3D.QQuick3DGeometry.setTargetData(data)#
- Parameters:
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.setTargetData(offset, data)
- Parameters:
offset – int
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.setVertexData(data)#
- Parameters:
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.setVertexData(offset, data)
- Parameters:
offset – int
data –
PySide6.QtCore.QByteArray
- PySide6.QtQuick3D.QQuick3DGeometry.stride()#
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.subsetBoundsMax(subset)#
- Parameters:
subset – int
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.subsetBoundsMin(subset)#
- Parameters:
subset – int
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.subsetCount()#
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.subsetCount(subset)
- Parameters:
subset – int
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.subsetName(subset)#
- Parameters:
subset – int
- Return type:
str
- PySide6.QtQuick3D.QQuick3DGeometry.subsetOffset(subset)#
- Parameters:
subset – int
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.targetAttribute(index)#
- Parameters:
index – int
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.targetAttributeCount()#
- Return type:
int
- PySide6.QtQuick3D.QQuick3DGeometry.targetData()#
- Return type:
- PySide6.QtQuick3D.QQuick3DGeometry.vertexData()#
- Return type: