Sync the PR of 2D. (#7730)

* Sync the pr #7262 and #7315 of 2D.

* Commit changes
This commit is contained in:
yufang.wu
2020-11-08 22:43:51 +08:00
committed by GitHub
parent 84fd3bc011
commit 623ef85041
5 changed files with 46 additions and 36 deletions
+4 -4
View File
@@ -48,15 +48,15 @@ function setEnumAttr (obj, propName, enumDef) {
* !#en
* The Armature Display of DragonBones <br/>
* <br/>
* (Armature Display has a reference to a DragonBonesAsset and stores the state for ArmatureDisplay instance,
* Armature Display has a reference to a DragonBonesAsset and stores the state for ArmatureDisplay instance,
* which consists of the current pose's bone SRT, slot colors, and which slot attachments are visible. <br/>
* Multiple Armature Display can use the same DragonBonesAsset which includes all animations, skins, and attachments.) <br/>
* Multiple Armature Display can use the same DragonBonesAsset which includes all animations, skins, and attachments.<br/>
* !#zh
* DragonBones 骨骼动画 <br/>
* <br/>
* (Armature Display 具有对骨骼数据的引用并且存储了骨骼实例的状态,
* Armature Display 具有对骨骼数据的引用并且存储了骨骼实例的状态,
* 它由当前的骨骼动作,slot 颜色,和可见的 slot attachments 组成。<br/>
* 多个 Armature Display 可以使用相同的骨骼数据,其中包括所有的动画,皮肤和 attachments。)<br/>
* 多个 Armature Display 可以使用相同的骨骼数据,其中包括所有的动画,皮肤和 attachments。<br/>
*
* @class ArmatureDisplay
* @extends Component