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
  • Parameters

    • left: any
    • right: any
    • bottom: any
    • top: any
    • center: any
    • angle: any
    • intersectPoints: any

    Returns void

calculateUVs

  • Parameters

    Returns void

calculateVertices

  • Parameters

    Returns void

generateTriangle

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

    • datas: IRenderData[]
    • offset: number
    • vert0: Vec2
    • vert1: Vec2
    • vert2: Vec2

    Returns void

generateUV

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

    • progressX: number
    • progressY: number
    • data: IRenderData[]
    • offset: number

    Returns void

getVertAngle

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

    Returns number

Object literals

Const PostAssembler

PostAssembler: object

getAssembler

  • Returns IAssembler

Const StartAssembler

StartAssembler: object

getAssembler

  • Returns IAssembler

Const barFilled

barFilled: object

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

useModel

useModel: boolean = false

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateRenderData

  • Parameters

    Returns void

updateUVs

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

    Returns void

updateVerts

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

    Returns void

updateWorldVerts

  • Parameters

    Returns void

Const bmfont

bmfont: object

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

appendQuad

  • Parameters

    Returns void

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

Const labelAssembler

labelAssembler: object

getAssembler

Const letter

letter: object

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

appendQuad

appendQuad: any = bmfont.appendQuad

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

Const maskAssembler

maskAssembler: object

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateRenderData

  • Parameters

    Returns void

updateVerts

  • Parameters

    Returns void

Const maskEndAssembler

maskEndAssembler: object

fillBuffers

  • Parameters

    Returns void

Const radialFilled

radialFilled: object

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

useModel

useModel: boolean = false

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateRenderData

  • Parameters

    Returns void

Const simple

simple: object

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

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateColor

  • Parameters

    Returns void

updateRenderData

  • Parameters

    Returns void

updateUvs

  • Parameters

    Returns void

updateVerts

  • Parameters

    Returns void

Const sliced

sliced: object

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

useModel

useModel: boolean = false

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateRenderData

  • Parameters

    Returns void

updateVerts

  • Parameters

    Returns void

updateWorldVerts

  • Parameters

    Returns void

Const ttf

ttf: object

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

createData

  • Parameters

    Returns RenderData

fillBuffers

  • Parameters

    Returns void

updateVerts

  • Parameters

    Returns void

Generated using TypeDoc