Variables
Const EPSILON
EPSILON: 0.000001 = 0.000001
Const MaxGridsLimit
MaxGridsLimit: number = Math.ceil(65535 / 6)
Const PI_2
PI_2: number = Math.PI * 2
Const WHITE
WHITE
: Color = new Color(255, 255, 255, 255)
Const _center
_center
: Vec2 = new Vec2()
Let _fillGrids
_fillGrids: number = 0
Const _intersectPoint_1
_intersect
Point_1: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]
Const _intersectPoint_2
_intersect
Point_2: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]
Const _mat4_temp
_mat4_
temp: Mat4 = new Mat4()
Let _moveX
_moveX: number = 0
Let _moveY
_moveY: number = 0
Let renderData
render
Data: { renderData: MeshRenderData; texture: Texture2D | null } | null
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 _vec3u_temp
_vec3u_
temp: Vec3 = new Vec3()
Const _vertPos
_vert
Pos: Vec2[] = [new Vec2(), new Vec2(), new Vec2(), new Vec2()]
Const _vertices
_vertices: number[] = new Array(4)
Let _vfOffset
_vfOffset: number = 0
Const matrix
matrix
: Mat4 = new Mat4()
Const matrix
matrix
: Mat4 = new Mat4()
Const vec3_temp
vec3_
temp: Vec3 = new Vec3()
barFilled 组装器 可通过
UI.barFilled
获取该组装器。