Variables
Const CanvasClearFlag
CanvasClearFlag: object = Enum({SOLID_COLOR: GFXClearFlag.ALL,DEPTH_STENCIL: GFXClearFlag.DEPTH_STENCIL,NONE: GFXClearFlag.NONE,})
Const EPSILON
EPSILON: 0.0001 = 0.0001
Const EventType
EventType: WebViewEventType = WebViewEventType
Const GETTINGSHORTERFACTOR
GETTINGSHORTERFACTOR: 20 = 20
Const LEFT_PADDING
LEFT_PADDING: 2 = 2
Const LEFT_RIGHT
LEFT_RIGHT: number = AlignFlags.LEFT | AlignFlags.RIGHT
Const MOVEMENT_FACTOR
MOVEMENT_FACTOR: 0.7 = 0.7
Const NUMBER_OF_GATHERED_TOUCHES_FOR_MOVE_SPEED
NUMBER_OF_GATHERED_TOUCHES_FOR_MOVE_SPEED: 5 = 5
Const OUT_OF_BOUNDARY_BREAKING_FACTOR
OUT_OF_BOUNDARY_BREAKING_FACTOR: 0.05 = 0.05
Const RenderMode
RenderMode: object = Enum({OVERLAY: 0,INTERSPERSE: 1,})
Type declaration
-
INTERSPERSE: number
-
OVERLAY: number
Const RichTextChildImageName
RichTextChildImageName: "RICHTEXT_Image_CHILD" = "RICHTEXT_Image_CHILD"
Const RichTextChildName
RichTextChildName: "RICHTEXT_CHILD" = "RICHTEXT_CHILD"
Const SEGMENTS_MAX
SEGMENTS_MAX: 10000 = 10000
Const SEGMENTS_MIN
SEGMENTS_MIN: 3 = 3
Const TOLERANCE
TOLERANCE: 10000 = 10000
Const TOP_BOT
TOP_BOT: number = AlignFlags.TOP | AlignFlags.BOT
Const _circlePoints
_circle
Points: Vec3[] = []
Const _color
_color
: Color = new Color()
Const _htmlTextParser
_htmlTextParser: HtmlTextParser = new HtmlTextParser()
Const _mat4_temp
_mat4_
temp: Mat4 = new Mat4()
Const _mat4_temp
_mat4_
temp: Mat4 = new Mat4()
Const _matrix
_matrix
: Mat4 = new Mat4()
Const _tempColor
_temp
Color: Color = new Color()
Const _tempPos
_temp
Pos: Vec3 = new Vec3()
Const _tempPos
_temp
Pos: Vec3 = new Vec3()
Const _tempPos_1
_temp
Pos_1: Vec3 = new Vec3()
Const _tempPos_2
_temp
Pos_2: Vec3 = new Vec3()
Const _tempScale
_temp
Scale: Vec3 = new Vec3()
Const _tempSize
_temp
Size: Size = new Size()
Const _tempVec2
_temp
Vec2: Vec2 = new Vec2()
Const _tempVec2
_temp
Vec2: Vec2 = new Vec2()
Const _tempVec2_1
_temp
Vec2_1: Vec2 = new Vec2()
Const _tempVec3
_temp
Vec3: Vec3 = new Vec3()
Const _tempVec3_1
_temp
Vec3_1: Vec3 = new Vec3()
Const _temp_vec2
_temp_
vec2: Vec2 = new Vec2()
Const _vec2_temp
_vec2_
temp: Vec2 = new Vec2()
Const _vec2a
_vec2a
: Vec2 = new Vec2()
Const _vec2b
_vec2b
: Vec2 = new Vec2()
Const _worldMatrix
_world
Matrix: Mat4 = new Mat4()
Const _worldMatrix
_world
Matrix: Mat4 = new Mat4()
Const _worldPos
_world
Pos: Vec3 = new Vec3()
Const _zeroVec3
_zero
Vec3: Vec3 = new Vec3()
Const defaultAnchor
default
Anchor: Vec2 = new Vec2()
Const pool
pool
: Pool<ILabelSegment> = new Pool((labelSeg: ILabelSegment) => {if (CC_EDITOR) {return false;}if (CC_DEV) {assert(!labelSeg.node.parent, 'Recycling node\'s parent should be null!');}if (!cc.isValid(labelSeg.node)) {return false;}else if (labelSeg.node.getComponent(LabelOutlineComponent)) {return false;}return true;}, 20)
Const vfmt
vfmt: object[] = [{name: GFXAttributeName.ATTR_POSITION,format: GFXFormat.RGB32F,},{name: GFXAttributeName.ATTR_TEX_COORD,format: GFXFormat.RG32F,},{name: GFXAttributeName.ATTR_COLOR,format: GFXFormat.RGBA32F,},]
WebView event type
网页视图事件类型。
WebView.EventType