dragonBones.AttachUtil Class

Module: dragonBones

Attach node tool

Index

Methods

Details

Methods

getAttachedRootNode

Gets attached root node.

meta description
Returns cc.Node
Defined in extensions/dragonbones/AttachUtil.js:120
getAttachedNodes

Gets attached node which you want.

meta description
Returns Node[]
Defined in extensions/dragonbones/AttachUtil.js:130
Parameters
destroyAttachedNodes

Destroy attached node which you want.

meta description
Defined in extensions/dragonbones/AttachUtil.js:177
Parameters
generateAttachedNodes

Traverse all bones to generate the minimum node tree containing the given bone names, NOTE that make sure the skeleton has initialized before calling this interface.

meta description
Returns Node[]
Defined in extensions/dragonbones/AttachUtil.js:212
Parameters
destroyAllAttachedNodes

Destroy all attached node.

meta description
Defined in extensions/dragonbones/AttachUtil.js:286
generateAllAttachedNodes

Traverse all bones to generate a tree containing all bones nodes, NOTE that make sure the skeleton has initialized before calling this interface.

meta description
Returns cc.Node
Defined in extensions/dragonbones/AttachUtil.js:305

results matching ""

    No results matching ""