Options
All
  • Public
  • Public/Protected
  • All
Menu

Module dragonBones

Index

References

Enumerations

Classes

Interfaces

Variables

Functions

Object literals

References

ActionData

Re-exports ActionData

ActionFrame

Re-exports ActionFrame

ActionTimelineState

Re-exports ActionTimelineState

ActionType

Re-exports ActionType

Animation

Re-exports Animation

AnimationCache

Re-exports AnimationCache

AnimationCacheMode

Re-exports AnimationCacheMode

AnimationConfig

Re-exports AnimationConfig

AnimationData

Re-exports AnimationData

AnimationFadeOutMode

Re-exports AnimationFadeOutMode

AnimationState

Re-exports AnimationState

AnimationTimelineState

Re-exports AnimationTimelineState

Armature

Re-exports Armature

ArmatureCache

Re-exports ArmatureCache

ArmatureData

Re-exports ArmatureData

ArmatureDisplay

Re-exports ArmatureDisplay

ArmatureDisplayData

Re-exports ArmatureDisplayData

ArmatureDisplayMeshData

Re-exports ArmatureDisplayMeshData

ArmatureFrame

Re-exports ArmatureFrame

ArmatureFrameBoneInfo

Re-exports ArmatureFrameBoneInfo

ArmatureFrameColor

Re-exports ArmatureFrameColor

ArmatureFrameSegment

Re-exports ArmatureFrameSegment

ArmatureInfo

Re-exports ArmatureInfo

ArmatureType

Re-exports ArmatureType

AttachUtil

Re-exports AttachUtil

BaseFactory

Re-exports BaseFactory

BaseObject

Re-exports BaseObject

BinaryDataParser

Re-exports BinaryDataParser

BinaryOffset

Re-exports BinaryOffset

BlendMode

Re-exports BlendMode

BlendState

Re-exports BlendState

Bone

Re-exports Bone

BoneAllTimelineState

Re-exports BoneAllTimelineState

BoneData

Re-exports BoneData

BonePose

Re-exports BonePose

BoneRotateTimelineState

Re-exports BoneRotateTimelineState

BoneScaleTimelineState

Re-exports BoneScaleTimelineState

BoneTimelineState

Re-exports BoneTimelineState

BoneTranslateTimelineState

Re-exports BoneTranslateTimelineState

BoneType

Re-exports BoneType

BoundingBoxData

Re-exports BoundingBoxData

BoundingBoxDisplayData

Re-exports BoundingBoxDisplayData

BoundingBoxType

Re-exports BoundingBoxType

BuildArmaturePackage

Re-exports BuildArmaturePackage

CCArmatureDisplay

Re-exports CCArmatureDisplay

CCFactory

Re-exports CCFactory

CCSlot

Re-exports CCSlot

CCTextureAtlasData

Re-exports CCTextureAtlasData

CCTextureData

Re-exports CCTextureData

CanvasData

Re-exports CanvasData

ColorTransform

Re-exports ColorTransform

Constraint

Re-exports Constraint

ConstraintData

Re-exports ConstraintData

ConstraintTimelineState

Re-exports ConstraintTimelineState

DataParser

Re-exports DataParser

DeformVertices

Re-exports DeformVertices

DisplayData

Re-exports DisplayData

DisplayType

Re-exports DisplayType

DragonBoneSocket

Re-exports DragonBoneSocket

DragonBones

Re-exports DragonBones

DragonBonesAsset

Re-exports DragonBonesAsset

DragonBonesAtlasAsset

Re-exports DragonBonesAtlasAsset

DragonBonesData

Re-exports DragonBonesData

EllipseBoundingBoxData

Re-exports EllipseBoundingBoxData

EventObject

Re-exports EventObject

EventStringType

Re-exports EventStringType

GlueData

Re-exports GlueData

IAnimatable

Re-exports IAnimatable

IArmatureProxy

Re-exports IArmatureProxy

IEventDispatcher

Re-exports IEventDispatcher

IKConstraint

Re-exports IKConstraint

IKConstraintData

Re-exports IKConstraintData

IKConstraintTimelineState

Re-exports IKConstraintTimelineState

ImageDisplayData

Re-exports ImageDisplayData

Map

Re-exports Map

Matrix

Re-exports Matrix

MeshDisplayData

Re-exports MeshDisplayData

ObjectDataParser

Re-exports ObjectDataParser

OffsetMode

Re-exports OffsetMode

Point

Re-exports Point

PolygonBoundingBoxData

Re-exports PolygonBoundingBoxData

Rectangle

Re-exports Rectangle

RectangleBoundingBoxData

Re-exports RectangleBoundingBoxData

SkinData

Re-exports SkinData

Slot

Re-exports Slot

SlotColorTimelineState

Re-exports SlotColorTimelineState

SlotData

Re-exports SlotData

SlotDislayTimelineState

Re-exports SlotDislayTimelineState

SlotFFDTimelineState

Re-exports SlotFFDTimelineState

SlotTimelineState

Re-exports SlotTimelineState

Surface

Re-exports Surface

SurfaceData

Re-exports SurfaceData

SurfaceTimelineState

Re-exports SurfaceTimelineState

TextureAtlasData

Re-exports TextureAtlasData

TextureData

Re-exports TextureData

TimelineData

Re-exports TimelineData

TimelineState

Re-exports TimelineState

TimelineType

Re-exports TimelineType

Transform

Re-exports Transform

TransformObject

Re-exports TransformObject

TweenState

Re-exports TweenState

TweenTimelineState

Re-exports TweenTimelineState

TweenType

Re-exports TweenType

UserData

Re-exports UserData

WeightData

Re-exports WeightData

WorldClock

Re-exports WorldClock

ZOrderTimelineState

Re-exports ZOrderTimelineState

simpleDragonBoneAssembler

Re-exports simpleDragonBoneAssembler

timeScale

Re-exports timeScale

webAssemblyModule

Re-exports webAssemblyModule

Variables

Const FrameTime

FrameTime: number = 1 / 60

Const MaxCacheTime

MaxCacheTime: 30 = 30

Const NEED_BATCH

NEED_BATCH: 16 = 16

Const NEED_COLOR

NEED_COLOR: 1 = 1

Const STRIDE_BYTES

STRIDE_BYTES: number = 9 * 4

Const STRIDE_FLOAT

STRIDE_FLOAT: 9 = 9

Let _batcher

_batcher: Batcher2D | undefined

Const _boneColor

_boneColor: Color = new Color(255, 0, 0, 255)

Let _boneInfoOffset

_boneInfoOffset: number = 0

Let _buffer

_buffer: ArmatureDisplayMeshData | undefined

Const _c

_c: Float32Array = new Float32Array(4)

Let _colorOffset

_colorOffset: number = 0

Let _comp

_comp: ArmatureDisplay | undefined

Let _handleVal

_handleVal: number

Let _indexCount

_indexCount: number

Let _indexOffset

_indexOffset: number

Let _indexOffset

_indexOffset: number = 0

Const _indices

_indices: number[] = []

Let _m00

_m00: number

Let _m01

_m01: number

Let _m04

_m04: number

Let _m05

_m05: number

Let _m12

_m12: number

Let _m13

_m13: number

Let _multiply

_multiply: number

Let _mustFlush

_mustFlush: boolean

Let _node

_node: Node | undefined

Let _nodeA

_nodeA: number

node alpha [0,1]

Let _nodeB

_nodeB: number

node B [0,1]

Let _nodeG

_nodeG: number

node G [0,1]

Let _nodeR

_nodeR: number

node R [0,1]

Const _originColor

_originColor: Color = new Color(0, 255, 0, 255)

Let _preBlendMode

_preBlendMode: BlendMode | null = null

Let _preColor

_preColor: number = 0

Let _preTexUrl

_preTexUrl: string | null = null

Let _premultipliedAlpha

_premultipliedAlpha: boolean

Let _segICount

_segICount: number = 0

Let _segOffset

_segOffset: number = 0

Let _segVCount

_segVCount: number = 0

Const _slotColor

_slotColor: Color = new Color(0, 0, 255, 255)

Const _tempMat4

_tempMat4: Mat4 = new Mat4()

Const _vec3u_temp

_vec3u_temp: Vec3 = new Vec3()

Let _vertexCount

_vertexCount: number

Let _vertexOffset

_vertexOffset: number

Let _vertexOffset

_vertexOffset: number = 0

Const _vertices

_vertices: number[] = []

Let _vfOffset

_vfOffset: number = 0

Let _vfOffset

_vfOffset: number

Let _x

_x: number

Let _x

_x: number

Let _y

_y: number

Let _y

_y: number

Let timeScale

timeScale: number = 1

Functions

getSlotMaterial

handleColor

  • handleColor(color: { a: number; b: number; g: number; r: number }, parentOpacity: number): void

intToColor

  • intToColor(v: number): void

cacheTraverse

realTimeTraverse

  • realTimeTraverse(armature: Armature, parentMat: Mat4 | undefined, parentOpacity: number): void

setEnumAttr

  • setEnumAttr(obj: any, propName: any, enumDef: any): void

updateComponentRenderData

  • updateComponentRenderData(comp: ArmatureDisplay, batcher: Batcher2D): void

Object literals

Const simple

simple: object

simple 组装器 可通过 UI.simple 获取该组装器。

createData

  • createData(): void

fillBuffers

updateColor

updateRenderData

Const simpleDragonBoneAssembler

simpleDragonBoneAssembler: object

getAssembler

  • getAssembler(): IAssembler

Generated using TypeDoc