大约有 550 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
Laya2.0_api(174) laya_api(132) Laya_示例(65) Laya_社区(56) Laya2.0_示例(51) Laya2.0_文档(36) Laya3.0_api(32) Laya3.0_文档(4)
...age.bgColor = "#232628"; this.setup(); } private setup(): void { var vGap: number = 200; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText = this.createText("基于帧频旋转", this.rotateTimeBasedT...
来源: Laya_示例 发布时间: 20241118
...Scale { //上次记录的两个触模点之间距离 private lastDistance: number = 0; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CE...
来源: Laya_示例 发布时间: 20241118
...ha *= 0.9; laser.scaleY = laser.alpha; if (laser.alpha = []; private tick: number = 0; private frequency: number = 80; private type: number = 0; constructor() { Laya.init(this.viewWidth, this.viewHeight, WebGL); Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.scaleMode = Stage.SCALE_NOBO...
来源: Laya2.0_示例 发布时间: 20241118
...roperties Show Inherited Public Properties PropertyDefined By bottom : Number表示距底边的距离(以像素为单位)。Widget centerX : Number表示距水平方向中心轴的距离(以像素为单位)。Widget centerY : Number表示距垂直方向中心轴的距离(以像...
来源: Laya2.0_api 发布时间: 20190513
...age.bgColor = "#232628"; this.setup(); } private setup(): void { var vGap: number = 200; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText = this.createText("基于帧频旋转", this.rotateTimeBasedT...
来源: Laya2.0_示例 发布时间: 20241118
...; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Laya.stage.scaleMode = Stage.SCALE_SHOWALL; this....
来源: Laya_示例 发布时间: 20241118
...Scale { //上次记录的两个触模点之间距离 private lastDistance: number = 0; private sp: Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CE...
来源: Laya2.0_示例 发布时间: 20241118
...剪 | Boolean | false | | octreeInitialSize | 八叉树初始化尺寸 | Number | 64.0 | | octreeInitialCenter | 八叉树初始化中心 | Vector3 | (0,0,0) | | octreeMinNodeSize | 八叉树最小尺寸 | Number | 2.0 | | octreeLooseness | 八叉树松散值 | Number | 1.25 | | debugFrustumCulling ...
来源: Laya2.0_文档 发布时间: 20210715
...剪 | Boolean | false | | octreeInitialSize | 八叉树初始化尺寸 | Number | 64.0 | | octreeInitialCenter | 八叉树初始化中心 | Vector3 | (0,0,0) | | octreeMinNodeSize | 八叉树最小尺寸 | Number | 2.0 | | octreeLooseness | 八叉树松散值 | Number | 1.25 | | debugFrustumCulling ...
来源: Laya2.0_文档 发布时间: 20210715
...ART:int = -90; public static const COLOR:String = "#000000"; private var r:Number = BarCell.WID / Math.SQRT2; private var rect:Rectangle = new Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = fal...
来源: Laya_社区 发布时间: 20171124