dragonBones.EgretSlot
包 dragonBones
类 public class EgretSlot
继承 dragonBones.EgretSlot → dragonBones.Slot → dragonBones.TransformObject → dragonBones.BaseObject
- Egret 插槽。
公共属性
属性 |
---|
transformUpdateEnabled : boolean - Whether to update the transform properties of the display object.For better performance, the transform properties of display object (x, y, rotation, ScaleX, ScaleX) are not updated and need to be set to true if these properties need to be accessed correctly. |
公共方法
方法 |
---|
init(slotData:dragonBones.SlotData,armatureValue:dragonBones.Armature,rawDisplay:any,meshDisplay:any):void |
toString():string [静态] |
属性详细信息
transformUpdateEnabled
transformUpdateEnabled : boolean = false
支持版本:DragonBones 3.0
运行平台:Web,Native
Whether to update the transform properties of the display object.For better performance, the transform properties of display object (x, y, rotation, ScaleX, ScaleX) are not updated and need to be set to true if these properties need to be accessed correctly.
方法详细信息
init()
public init(slotData:dragonBones.SlotData,armatureValue:dragonBones.Armature,rawDisplay:any,meshDisplay:any):void
- 支持版本:all
- 运行平台:Web,Native
- 参数
- slotData:dragonBones.SlotData
- armatureValue:dragonBones.Armature
- rawDisplay:any
- meshDisplay:any
toString()
public toString():string
- 支持版本:all
- 运行平台:Web,Native