Options
All
  • Public
  • Public/Protected
  • All
Menu

External module uiassembler

Index

Variables

Const EPSILON

EPSILON: 0.000001 = 0.000001

Const FillType

FillType: FillType = SpriteComponent.FillType

Const PI_2

PI_2: number = Math.PI * 2

Const WHITE

WHITE: Color = Color.WHITE.clone()

Const WHITE

WHITE: Color = new Color(255, 255, 255, 255)

Const _center

_center: Vec2 = new Vec2()

Const _intersectPoint_1

_intersectPoint_1: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]

Const _intersectPoint_2

_intersectPoint_2: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]

Const _stencilManager

_stencilManager: StencilManager = StencilManager.sharedManager!

Const _triangles

_triangles: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]

Const _uvs

_uvs: number[] = new Array(8)

Const _vertPos

_vertPos: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]

Const _vertices

_vertices: number[] = new Array(4)

Const matrix

matrix: Mat4 = new Mat4()

Const matrix

matrix: Mat4 = new Mat4()

Const vec3_temp

vec3_temp: Vec3 = new Vec3()

Const vec3_temps

vec3_temps: Vec3[] = []

Functions

calcIntersectedPoints

  • calcIntersectedPoints(left: any, right: any, bottom: any, top: any, center: any, angle: any, intersectPoints: any): void

calculateUVs

calculateVertices

generateTriangle

  • generateTriangle(datas: IRenderData[], offset: number, vert0: Vec2, vert1: Vec2, vert2: Vec2): void

generateUV

  • generateUV(progressX: number, progressY: number, data: IRenderData[], offset: number): void

getVertAngle

  • getVertAngle(start: Vec2, end: Vec2): number

Object literals

Const PostAssembler

PostAssembler: object

getAssembler

Const StartAssembler

StartAssembler: object

getAssembler

Const barFilled

barFilled: object

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

useModel

useModel: boolean = false

createData

fillBuffers

updateRenderData

updateUVs

  • updateUVs(sprite: SpriteComponent, fillStart: number, fillEnd: number): void

updateVerts

  • updateVerts(sprite: SpriteComponent, fillStart: number, fillEnd: number): void

updateWorldVerts

Const bmfont

bmfont: object

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

appendQuad

createData

fillBuffers

Const labelAssembler

labelAssembler: object

getAssembler

Const letter

letter: object

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

appendQuad

appendQuad: any = bmfont.appendQuad

createData

fillBuffers

Const maskAssembler

maskAssembler: object

createData

fillBuffers

updateRenderData

updateVerts

Const maskEndAssembler

maskEndAssembler: object

fillBuffers

Const radialFilled

radialFilled: object

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

useModel

useModel: boolean = false

createData

fillBuffers

updateRenderData

Const simple

simple: object

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

createData

fillBuffers

updateColor

updateRenderData

updateUvs

updateVerts

Const sliced

sliced: object

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

useModel

useModel: boolean = false

createData

fillBuffers

updateRenderData

updateVerts

updateWorldVerts

Const ttf

ttf: object

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

createData

fillBuffers

updateVerts

Generated using TypeDoc