def
create
(pos, tupleSize, primitiveType[, isPosition=false])
def
createWithAttributeType
(pos, tupleSize, primitiveType, attributeType)
PySide2.QtQuick.QSGGeometry.
属性
¶
PySide2.QtQuick.QSGGeometry.Attribute(Attribute)
属性
–
属性
PySide2.QtQuick.QSGGeometry.Attribute.
position
¶
PySide2.QtQuick.QSGGeometry.Attribute.
tupleSize
¶
PySide2.QtQuick.QSGGeometry.Attribute.
type
¶
PySide2.QtQuick.QSGGeometry.Attribute.
isVertexCoordinate
¶
PySide2.QtQuick.QSGGeometry.Attribute.
attributeType
¶
PySide2.QtQuick.QSGGeometry.Attribute.
reserved
¶
PySide2.QtQuick.QSGGeometry.Attribute.
create
(
pos
,
tupleSize
,
primitiveType
[
,
isPosition=false
]
)
¶
pos
–
int
tupleSize
–
int
primitiveType
–
int
isPosition
–
bool
属性
PySide2.QtQuick.QSGGeometry.Attribute.
createWithAttributeType
(
pos
,
tupleSize
,
primitiveType
,
attributeType
)
¶
pos
–
int
tupleSize
–
int
primitiveType
–
int
attributeType
–
AttributeType
属性