Qt3DAnimation.pyi 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. """
  4. This file contains the exact signatures for all functions in module
  5. PySide6.Qt3DAnimation, except for defaults which are replaced by "...".
  6. """
  7. # mypy: disable-error-code="override, overload-overlap"
  8. # Module `PySide6.Qt3DAnimation`
  9. import PySide6.Qt3DAnimation
  10. import PySide6.QtCore
  11. import PySide6.QtGui
  12. import PySide6.Qt3DCore
  13. import PySide6.Qt3DRender
  14. import enum
  15. import typing
  16. import collections.abc
  17. from PySide6.QtCore import Signal
  18. from shiboken6 import Shiboken
  19. class QIntList: ...
  20. class Qt3DAnimation(Shiboken.Object):
  21. class QAbstractAnimation(PySide6.QtCore.QObject):
  22. animationNameChanged : typing.ClassVar[Signal] = ... # animationNameChanged(QString)
  23. durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
  24. positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
  25. class AnimationType(enum.Enum):
  26. KeyframeAnimation = 0x1
  27. MorphingAnimation = 0x2
  28. VertexBlendAnimation = 0x3
  29. def animationName(self, /) -> str: ...
  30. def animationType(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation.AnimationType: ...
  31. def duration(self, /) -> float: ...
  32. def position(self, /) -> float: ...
  33. def setAnimationName(self, name: str, /) -> None: ...
  34. def setDuration(self, duration: float, /) -> None: ...
  35. def setPosition(self, position: float, /) -> None: ...
  36. class QAbstractAnimationClip(PySide6.Qt3DCore.Qt3DCore.QNode):
  37. durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
  38. def duration(self, /) -> float: ...
  39. class QAbstractChannelMapping(PySide6.Qt3DCore.Qt3DCore.QNode): ...
  40. class QAbstractClipAnimator(PySide6.Qt3DCore.Qt3DCore.QComponent):
  41. channelMapperChanged : typing.ClassVar[Signal] = ... # channelMapperChanged(Qt3DAnimation::QChannelMapper*)
  42. clockChanged : typing.ClassVar[Signal] = ... # clockChanged(Qt3DAnimation::QClock*)
  43. loopCountChanged : typing.ClassVar[Signal] = ... # loopCountChanged(int)
  44. normalizedTimeChanged : typing.ClassVar[Signal] = ... # normalizedTimeChanged(float)
  45. runningChanged : typing.ClassVar[Signal] = ... # runningChanged(bool)
  46. class Loops(enum.Enum):
  47. Infinite = -1
  48. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, running: bool | None = ..., loops: int | None = ..., channelMapper: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper | None = ..., clock: PySide6.Qt3DAnimation.Qt3DAnimation.QClock | None = ..., normalizedTime: float | None = ...) -> None: ...
  49. def channelMapper(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper: ...
  50. def clock(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QClock: ...
  51. def isRunning(self, /) -> bool: ...
  52. def loopCount(self, /) -> int: ...
  53. def normalizedTime(self, /) -> float: ...
  54. def setChannelMapper(self, channelMapper: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelMapper, /) -> None: ...
  55. def setClock(self, clock: PySide6.Qt3DAnimation.Qt3DAnimation.QClock, /) -> None: ...
  56. def setLoopCount(self, loops: int, /) -> None: ...
  57. def setNormalizedTime(self, timeFraction: float, /) -> None: ...
  58. def setRunning(self, running: bool, /) -> None: ...
  59. def start(self, /) -> None: ...
  60. def stop(self, /) -> None: ...
  61. class QAbstractClipBlendNode(PySide6.Qt3DCore.Qt3DCore.QNode):
  62. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
  63. class QAdditiveClipBlend(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
  64. additiveClipChanged : typing.ClassVar[Signal] = ... # additiveClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
  65. additiveFactorChanged : typing.ClassVar[Signal] = ... # additiveFactorChanged(float)
  66. baseClipChanged : typing.ClassVar[Signal] = ... # baseClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
  67. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, baseClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., additiveClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., additiveFactor: float | None = ...) -> None: ...
  68. def additiveClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
  69. def additiveFactor(self, /) -> float: ...
  70. def baseClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
  71. def setAdditiveClip(self, additiveClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
  72. def setAdditiveFactor(self, additiveFactor: float, /) -> None: ...
  73. def setBaseClip(self, baseClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
  74. class QAnimationAspect(PySide6.Qt3DCore.Qt3DCore.QAbstractAspect):
  75. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  76. class QAnimationCallback(Shiboken.Object):
  77. class Flag(enum.Flag):
  78. OnOwningThread = 0x0
  79. OnThreadPool = 0x1
  80. def __init__(self, /) -> None: ...
  81. def valueChanged(self, value: typing.Any, /) -> None: ...
  82. class QAnimationClip(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip):
  83. clipDataChanged : typing.ClassVar[Signal] = ... # clipDataChanged(Qt3DAnimation::QAnimationClipData)
  84. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clipData: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData | None = ...) -> None: ...
  85. def clipData(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData: ...
  86. def setClipData(self, clipData: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> None: ...
  87. class QAnimationClipData(Shiboken.Object):
  88. @typing.overload
  89. def __init__(self, /) -> None: ...
  90. @typing.overload
  91. def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> None: ...
  92. def __copy__(self, /) -> typing.Self: ...
  93. def __eq__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> bool: ...
  94. def __ne__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipData, /) -> bool: ...
  95. def appendChannel(self, c: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
  96. def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
  97. def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
  98. def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
  99. def channelCount(self, /) -> int: ...
  100. def clearChannels(self, /) -> None: ...
  101. def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannel: ...
  102. def insertChannel(self, index: int, c: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
  103. def isValid(self, /) -> bool: ...
  104. def name(self, /) -> str: ...
  105. def removeChannel(self, index: int, /) -> None: ...
  106. def setName(self, name: str, /) -> None: ...
  107. class QAnimationClipLoader(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip):
  108. sourceChanged : typing.ClassVar[Signal] = ... # sourceChanged(QUrl)
  109. statusChanged : typing.ClassVar[Signal] = ... # statusChanged(Status)
  110. class Status(enum.Enum):
  111. NotReady = 0x0
  112. Ready = 0x1
  113. Error = 0x2
  114. @typing.overload
  115. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, source: PySide6.QtCore.QUrl | None = ..., status: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status | None = ...) -> None: ...
  116. @typing.overload
  117. def __init__(self, source: PySide6.QtCore.QUrl | str, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, status: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status | None = ...) -> None: ...
  118. def setSource(self, source: PySide6.QtCore.QUrl | str, /) -> None: ...
  119. def source(self, /) -> PySide6.QtCore.QUrl: ...
  120. def status(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.Status: ...
  121. class QAnimationController(PySide6.QtCore.QObject):
  122. activeAnimationGroupChanged: typing.ClassVar[Signal] = ... # activeAnimationGroupChanged(int)
  123. entityChanged : typing.ClassVar[Signal] = ... # entityChanged(Qt3DCore::QEntity*)
  124. positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
  125. positionOffsetChanged : typing.ClassVar[Signal] = ... # positionOffsetChanged(float)
  126. positionScaleChanged : typing.ClassVar[Signal] = ... # positionScaleChanged(float)
  127. recursiveChanged : typing.ClassVar[Signal] = ... # recursiveChanged(bool)
  128. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, activeAnimationGroup: int | None = ..., position: float | None = ..., positionScale: float | None = ..., positionOffset: float | None = ..., entity: PySide6.Qt3DCore.Qt3DCore.QEntity | None = ..., recursive: bool | None = ...) -> None: ...
  129. def activeAnimationGroup(self, /) -> int: ...
  130. def addAnimationGroup(self, animationGroups: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup, /) -> None: ...
  131. def animationGroupList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup]: ...
  132. def entity(self, /) -> PySide6.Qt3DCore.Qt3DCore.QEntity: ...
  133. def getAnimationIndex(self, name: str, /) -> int: ...
  134. def getGroup(self, index: int, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup: ...
  135. def position(self, /) -> float: ...
  136. def positionOffset(self, /) -> float: ...
  137. def positionScale(self, /) -> float: ...
  138. def recursive(self, /) -> bool: ...
  139. def removeAnimationGroup(self, animationGroups: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup, /) -> None: ...
  140. def setActiveAnimationGroup(self, index: int, /) -> None: ...
  141. def setAnimationGroups(self, animationGroups: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationGroup], /) -> None: ...
  142. def setEntity(self, entity: PySide6.Qt3DCore.Qt3DCore.QEntity, /) -> None: ...
  143. def setPosition(self, position: float, /) -> None: ...
  144. def setPositionOffset(self, offset: float, /) -> None: ...
  145. def setPositionScale(self, scale: float, /) -> None: ...
  146. def setRecursive(self, recursive: bool, /) -> None: ...
  147. class QAnimationGroup(PySide6.QtCore.QObject):
  148. durationChanged : typing.ClassVar[Signal] = ... # durationChanged(float)
  149. nameChanged : typing.ClassVar[Signal] = ... # nameChanged(QString)
  150. positionChanged : typing.ClassVar[Signal] = ... # positionChanged(float)
  151. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, name: str | None = ..., position: float | None = ..., duration: float | None = ...) -> None: ...
  152. def addAnimation(self, animation: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation, /) -> None: ...
  153. def animationList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation]: ...
  154. def duration(self, /) -> float: ...
  155. def name(self, /) -> str: ...
  156. def position(self, /) -> float: ...
  157. def removeAnimation(self, animation: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation, /) -> None: ...
  158. def setAnimations(self, animations: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation], /) -> None: ...
  159. def setName(self, name: str, /) -> None: ...
  160. def setPosition(self, position: float, /) -> None: ...
  161. class QBlendedClipAnimator(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipAnimator):
  162. blendTreeChanged : typing.ClassVar[Signal] = ... # blendTreeChanged(QAbstractClipBlendNode*)
  163. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, blendTree: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ...) -> None: ...
  164. def blendTree(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
  165. def setBlendTree(self, blendTree: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
  166. class QCallbackMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
  167. channelNameChanged : typing.ClassVar[Signal] = ... # channelNameChanged(QString)
  168. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, channelName: str | None = ...) -> None: ...
  169. def callback(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback: ...
  170. def channelName(self, /) -> str: ...
  171. def setCallback(self, type: int, callback: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback, /, flags: PySide6.Qt3DAnimation.Qt3DAnimation.QAnimationCallback.Flag = ...) -> None: ...
  172. def setChannelName(self, channelName: str, /) -> None: ...
  173. class QChannel(Shiboken.Object):
  174. @typing.overload
  175. def __init__(self, /) -> None: ...
  176. @typing.overload
  177. def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QChannel, /) -> None: ...
  178. @typing.overload
  179. def __init__(self, name: str, /) -> None: ...
  180. def __copy__(self, /) -> typing.Self: ...
  181. def appendChannelComponent(self, component: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
  182. def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
  183. def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
  184. def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
  185. def channelComponentCount(self, /) -> int: ...
  186. def clearChannelComponents(self, /) -> None: ...
  187. def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent: ...
  188. def insertChannelComponent(self, index: int, component: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
  189. def jointIndex(self, /) -> int: ...
  190. def name(self, /) -> str: ...
  191. def removeChannelComponent(self, index: int, /) -> None: ...
  192. def setJointIndex(self, jointIndex: int, /) -> None: ...
  193. def setName(self, name: str, /) -> None: ...
  194. class QChannelComponent(Shiboken.Object):
  195. @typing.overload
  196. def __init__(self, /) -> None: ...
  197. @typing.overload
  198. def __init__(self, arg__1: PySide6.Qt3DAnimation.Qt3DAnimation.QChannelComponent, /) -> None: ...
  199. @typing.overload
  200. def __init__(self, name: str, /) -> None: ...
  201. def __copy__(self, /) -> typing.Self: ...
  202. def appendKeyFrame(self, kf: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> None: ...
  203. def begin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
  204. def cbegin(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
  205. def cend(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
  206. def clearKeyFrames(self, /) -> None: ...
  207. def end(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame: ...
  208. def insertKeyFrame(self, index: int, kf: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> None: ...
  209. def keyFrameCount(self, /) -> int: ...
  210. def name(self, /) -> str: ...
  211. def removeKeyFrame(self, index: int, /) -> None: ...
  212. def setName(self, name: str, /) -> None: ...
  213. class QChannelMapper(PySide6.Qt3DCore.Qt3DCore.QNode):
  214. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
  215. def addMapping(self, mapping: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping, /) -> None: ...
  216. def mappings(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping]: ...
  217. def removeMapping(self, mapping: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping, /) -> None: ...
  218. class QChannelMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
  219. channelNameChanged : typing.ClassVar[Signal] = ... # channelNameChanged(QString)
  220. propertyChanged : typing.ClassVar[Signal] = ... # propertyChanged(QString)
  221. targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DCore::QNode*)
  222. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, channelName: str | None = ..., target: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., property: str | None = ...) -> None: ...
  223. def channelName(self, /) -> str: ...
  224. def property(self, /) -> str: ...
  225. def setChannelName(self, channelName: str, /) -> None: ...
  226. def setProperty(self, property: str, /) -> None: ...
  227. def setTarget(self, target: PySide6.Qt3DCore.Qt3DCore.QNode, /) -> None: ...
  228. def target(self, /) -> PySide6.Qt3DCore.Qt3DCore.QNode: ...
  229. class QClipAnimator(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipAnimator):
  230. clipChanged : typing.ClassVar[Signal] = ... # clipChanged(Qt3DAnimation::QAbstractAnimationClip*)
  231. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip | None = ...) -> None: ...
  232. def clip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip: ...
  233. def setClip(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /) -> None: ...
  234. class QClipBlendValue(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
  235. clipChanged : typing.ClassVar[Signal] = ... # clipChanged(Qt3DAnimation::QAbstractAnimationClip*)
  236. @typing.overload
  237. def __init__(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ...) -> None: ...
  238. @typing.overload
  239. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip | None = ...) -> None: ...
  240. def clip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip: ...
  241. def setClip(self, clip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimationClip, /) -> None: ...
  242. class QClock(PySide6.Qt3DCore.Qt3DCore.QNode):
  243. playbackRateChanged : typing.ClassVar[Signal] = ... # playbackRateChanged(double)
  244. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, playbackRate: float | None = ...) -> None: ...
  245. def playbackRate(self, /) -> float: ...
  246. def setPlaybackRate(self, playbackRate: float, /) -> None: ...
  247. class QKeyFrame(Shiboken.Object):
  248. class InterpolationType(enum.Enum):
  249. ConstantInterpolation = 0x0
  250. LinearInterpolation = 0x1
  251. BezierInterpolation = 0x2
  252. @typing.overload
  253. def __init__(self, /) -> None: ...
  254. @typing.overload
  255. def __init__(self, coords: PySide6.QtGui.QVector2D, /) -> None: ...
  256. @typing.overload
  257. def __init__(self, coords: PySide6.QtGui.QVector2D, lh: PySide6.QtGui.QVector2D, rh: PySide6.QtGui.QVector2D, /) -> None: ...
  258. def __eq__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> bool: ...
  259. def __ne__(self, rhs: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame, /) -> bool: ...
  260. def coordinates(self, /) -> PySide6.QtGui.QVector2D: ...
  261. def interpolationType(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame.InterpolationType: ...
  262. def leftControlPoint(self, /) -> PySide6.QtGui.QVector2D: ...
  263. def rightControlPoint(self, /) -> PySide6.QtGui.QVector2D: ...
  264. def setCoordinates(self, coords: PySide6.QtGui.QVector2D, /) -> None: ...
  265. def setInterpolationType(self, interp: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyFrame.InterpolationType, /) -> None: ...
  266. def setLeftControlPoint(self, lh: PySide6.QtGui.QVector2D, /) -> None: ...
  267. def setRightControlPoint(self, rh: PySide6.QtGui.QVector2D, /) -> None: ...
  268. class QKeyframeAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
  269. easingChanged : typing.ClassVar[Signal] = ... # easingChanged(QEasingCurve)
  270. endModeChanged : typing.ClassVar[Signal] = ... # endModeChanged(QKeyframeAnimation::RepeatMode)
  271. framePositionsChanged : typing.ClassVar[Signal] = ... # framePositionsChanged(QList<float>)
  272. startModeChanged : typing.ClassVar[Signal] = ... # startModeChanged(QKeyframeAnimation::RepeatMode)
  273. targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DCore::QTransform*)
  274. targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
  275. class RepeatMode(enum.Enum):
  276. None_ = 0x0
  277. Constant = 0x1
  278. Repeat = 0x2
  279. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, framePositions: collections.abc.Sequence[float] | None = ..., target: PySide6.Qt3DCore.Qt3DCore.QTransform | None = ..., easing: PySide6.QtCore.QEasingCurve | None = ..., targetName: str | None = ..., startMode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode | None = ..., endMode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode | None = ...) -> None: ...
  280. def addKeyframe(self, keyframe: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
  281. def easing(self, /) -> PySide6.QtCore.QEasingCurve: ...
  282. def endMode(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode: ...
  283. def framePositions(self, /) -> typing.List[float]: ...
  284. def keyframeList(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QTransform]: ...
  285. def removeKeyframe(self, keyframe: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
  286. def setEasing(self, easing: PySide6.QtCore.QEasingCurve | PySide6.QtCore.QEasingCurve.Type, /) -> None: ...
  287. def setEndMode(self, mode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode, /) -> None: ...
  288. def setFramePositions(self, positions: collections.abc.Sequence[float], /) -> None: ...
  289. def setKeyframes(self, keyframes: collections.abc.Sequence[PySide6.Qt3DCore.Qt3DCore.QTransform], /) -> None: ...
  290. def setStartMode(self, mode: PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode, /) -> None: ...
  291. def setTarget(self, target: PySide6.Qt3DCore.Qt3DCore.QTransform, /) -> None: ...
  292. def setTargetName(self, name: str, /) -> None: ...
  293. def startMode(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QKeyframeAnimation.RepeatMode: ...
  294. def target(self, /) -> PySide6.Qt3DCore.Qt3DCore.QTransform: ...
  295. def targetName(self, /) -> str: ...
  296. class QLerpClipBlend(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode):
  297. blendFactorChanged : typing.ClassVar[Signal] = ... # blendFactorChanged(float)
  298. endClipChanged : typing.ClassVar[Signal] = ... # endClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
  299. startClipChanged : typing.ClassVar[Signal] = ... # startClipChanged(Qt3DAnimation::QAbstractClipBlendNode*)
  300. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, startClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., endClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode | None = ..., blendFactor: float | None = ...) -> None: ...
  301. def blendFactor(self, /) -> float: ...
  302. def endClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
  303. def setBlendFactor(self, blendFactor: float, /) -> None: ...
  304. def setEndClip(self, endClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
  305. def setStartClip(self, startClip: PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode, /) -> None: ...
  306. def startClip(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractClipBlendNode: ...
  307. class QMorphTarget(PySide6.QtCore.QObject):
  308. attributeNamesChanged : typing.ClassVar[Signal] = ... # attributeNamesChanged(QStringList)
  309. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, attributeNames: collections.abc.Sequence[str] | None = ...) -> None: ...
  310. def addAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
  311. def attributeList(self, /) -> typing.List[PySide6.Qt3DCore.Qt3DCore.QAttribute]: ...
  312. def attributeNames(self, /) -> typing.List[str]: ...
  313. @staticmethod
  314. def fromGeometry(geometry: PySide6.Qt3DCore.Qt3DCore.QGeometry, attributes: collections.abc.Sequence[str], /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget: ...
  315. def removeAttribute(self, attribute: PySide6.Qt3DCore.Qt3DCore.QAttribute, /) -> None: ...
  316. def setAttributes(self, attributes: collections.abc.Sequence[PySide6.Qt3DCore.Qt3DCore.QAttribute], /) -> None: ...
  317. class QMorphingAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
  318. easingChanged : typing.ClassVar[Signal] = ... # easingChanged(QEasingCurve)
  319. interpolatorChanged : typing.ClassVar[Signal] = ... # interpolatorChanged(float)
  320. methodChanged : typing.ClassVar[Signal] = ... # methodChanged(QMorphingAnimation::Method)
  321. targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DRender::QGeometryRenderer*)
  322. targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
  323. targetPositionsChanged : typing.ClassVar[Signal] = ... # targetPositionsChanged(QList<float>)
  324. class Method(enum.Enum):
  325. Normalized = 0x0
  326. Relative = 0x1
  327. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, targetPositions: collections.abc.Sequence[float] | None = ..., interpolator: float | None = ..., target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer | None = ..., targetName: str | None = ..., method: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method | None = ..., easing: PySide6.QtCore.QEasingCurve | None = ...) -> None: ...
  328. def addMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
  329. def easing(self, /) -> PySide6.QtCore.QEasingCurve: ...
  330. def getWeights(self, positionIndex: int, /) -> typing.List[float]: ...
  331. def interpolator(self, /) -> float: ...
  332. def method(self, /) -> PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method: ...
  333. def morphTargetList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget]: ...
  334. def removeMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
  335. def setEasing(self, easing: PySide6.QtCore.QEasingCurve | PySide6.QtCore.QEasingCurve.Type, /) -> None: ...
  336. def setMethod(self, method: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphingAnimation.Method, /) -> None: ...
  337. def setMorphTargets(self, targets: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget], /) -> None: ...
  338. def setTarget(self, target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer, /) -> None: ...
  339. def setTargetName(self, name: str, /) -> None: ...
  340. def setTargetPositions(self, targetPositions: collections.abc.Sequence[float], /) -> None: ...
  341. def setWeights(self, positionIndex: int, weights: collections.abc.Sequence[float], /) -> None: ...
  342. def target(self, /) -> PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer: ...
  343. def targetName(self, /) -> str: ...
  344. def targetPositions(self, /) -> typing.List[float]: ...
  345. class QSkeletonMapping(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractChannelMapping):
  346. skeletonChanged : typing.ClassVar[Signal] = ... # skeletonChanged(Qt3DCore::QAbstractSkeleton*)
  347. def __init__(self, /, parent: PySide6.Qt3DCore.Qt3DCore.QNode | None = ..., *, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton | None = ...) -> None: ...
  348. def setSkeleton(self, skeleton: PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton, /) -> None: ...
  349. def skeleton(self, /) -> PySide6.Qt3DCore.Qt3DCore.QAbstractSkeleton: ...
  350. class QVertexBlendAnimation(PySide6.Qt3DAnimation.Qt3DAnimation.QAbstractAnimation):
  351. interpolatorChanged : typing.ClassVar[Signal] = ... # interpolatorChanged(float)
  352. targetChanged : typing.ClassVar[Signal] = ... # targetChanged(Qt3DRender::QGeometryRenderer*)
  353. targetNameChanged : typing.ClassVar[Signal] = ... # targetNameChanged(QString)
  354. targetPositionsChanged : typing.ClassVar[Signal] = ... # targetPositionsChanged(QList<float>)
  355. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, targetPositions: collections.abc.Sequence[float] | None = ..., interpolator: float | None = ..., target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer | None = ..., targetName: str | None = ...) -> None: ...
  356. def addMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
  357. def interpolator(self, /) -> float: ...
  358. def morphTargetList(self, /) -> typing.List[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget]: ...
  359. def removeMorphTarget(self, target: PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget, /) -> None: ...
  360. def setMorphTargets(self, targets: collections.abc.Sequence[PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget], /) -> None: ...
  361. def setTarget(self, target: PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer, /) -> None: ...
  362. def setTargetName(self, name: str, /) -> None: ...
  363. def setTargetPositions(self, targetPositions: collections.abc.Sequence[float], /) -> None: ...
  364. def target(self, /) -> PySide6.Qt3DRender.Qt3DRender.QGeometryRenderer: ...
  365. def targetName(self, /) -> str: ...
  366. def targetPositions(self, /) -> typing.List[float]: ...
  367. # eof