When disabled, drawcall will rise, but it can reduce the computational burden of the CPU. When enable, drawcall will reduce, which is suitable for a large number of simple animations to play at the same time. Whether to enable animation batch, default is disabled. You should disable this option when image's transparent area appears to have opaque pixels.Įnable this option when image's half transparent area appears to be darken. Indicates whether to enable premultiplied alpha, default is True. PRIVATE_CACHE mode, similar to SHARED_CACHE, but not share animation and texture data, so there is no advantage in memory, there is only a performance advantage, when trying to take advantage of caching pattern of high performance, but there is a change of texture, so you can't share the map data, then PRIVATE_CACHE is suitable for you. SHARED_CACHE mode, caching and sharing dragonbones animation data, the equivalent of pre baked skeletal animation, have high performance, does not support the action blend, superposition and nest bone nested, only supports the start and end events, as for memory, when creating some same bones and the same action of animation, can present advantages of memory, the greater the amount of skeleton, the more obvious advantages, in conclusion SHARED_CACHE mode is suitable for the scene animation, special effects, monster, NPC and so on, can greatly increase the frame rate and reduce memory.ģ. REALTIME model, realtime calculate, support all functions of DragonBones.Ģ. You can drag and drop the Atlas resources exported from DragonBones here. The json data contains the Texture information. You can drag and drop the bone resources exported from DragonBones here. Multiple ArmatureDisplay can share the same DragonBones data. The json data contains the DragonBones information (bind pose bones, slots, draw order,attachments, skins, etc) and animations, but does not hold any state. ![]() About the DragonBones's scripting interface please refer to DragonBones API.The operation of the DragonBones component in the script refer to the DragonBones test in the example-cases.The DragonBones component can render and play DragonBones resources.Ĭlick the Add Component button at the bottom of the Properties panel and select DragonBones from Renderer Component to add the DragonBones component to the node. Resource management considerations - meta files
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |