Represents a change in deformation for a slot in a spine animation.

表示骨骼动画中一个插槽的变形变化。

实现

属性

endFrame: number

The end frame of this Change.

变化的结束帧。

sizeMap: Map<string, TAttamentPos>

Map storing the attachment positions for the slot.

存储插槽附件位置的映射。

slotId: number

The ID of the slot affected by this deformation change.

受此变形变化影响的插槽ID。

startFrame: number

The start frame of this Change.

变化的起始帧。

方法

  • 参数

    • vb: VBCreator

      The VBCreator to update.

    • slots: Slot[]

      Array of spine slots.

    返回 boolean

    True if the update is successful, false otherwise.

    Updates the vertex buffer based on the deformation change.

    根据变形变化更新顶点缓冲区。