大约有 95 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0087 秒)
...照物 let reference = new Laya.Sprite(); reference.pos(0, 0); reference.size('100%', '100%'); this.addChild(reference); Laya.stage.on(Laya.Event.RESIZE, this, Laya.Utils.fitDOMElementInArea, [videoElement,reference,0, 0,'100%','100%']); Laya.Utils.fitDOMElementInArea(videoElement,reference,0, 0,'10...
来源: Laya_社区 发布时间: 20181124
...nit(this.width, this.height); Laya.stage.setScreenSize(this.width, this.height); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.stage.on(Lay...
来源: Laya_社区 发布时间: 20200119
...ext.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.align = "center"; text.size(Laya.stage.width, Laya.stage.height); } private function onSuccess(url:String):void { video = new Video(Laya.stage.width, Laya.stage.height); video.load(url...
来源: Laya2.0_文档 发布时间: 20210715
...geSource: CreatePixelMapExtended success, imageId:1736156081504401, desiredSize: (0, 0),imageSize: (192, 192), cost 1489 us 01-06 17:34:41.506 797 1382 I C01719/ffrt: 31958:PushTask:51 push task gid=1535 to qid=13 [AbilityManagerService] 01-06 17:34:41.510 338 942 I C02d10/HiView-SysEventSource: Che...
来源: Laya_社区 发布时间: 20250106
... Laya.stage.addChild(scene); var inputText = new Laya.Input(); inputText.size(350, 100); inputText.x = Laya.stage.width - 400; inputText.y = Laya.stage.height * 0.4; // 移动端输入提示符 inputText.prompt = "Type some word..."; // 设置字体样式 inputText.bold = true; inputText.bgColor...
来源: Laya_社区 发布时间: 20200223
...s[MiniAdpter] already exist: Object code.js:25623 ShaderCompile use time:5 size:4472/6067 code.js:25623 ShaderCompile use time:3 size:177/148 code.js:92311 Warning: discard property,please use transform's property instead. code.js:21065 Object WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file ...
来源: Laya_社区 发布时间: 20180307
...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...
来源: Laya2.0_api 发布时间: 20190513
... file not found 微信游戏多次加载出现:copyFile:fail the maximum size of the file storage limit is exceeded 问题状态 最新活动: 2018-07-15 19:21 浏览: 1538 关注: 5 人 海货 • 2018-07-15 16:58 你意思是环境问题? 海货 • 2018-07-15 17:01 我的环境是上午刚搭...
来源: Laya_社区 发布时间: 20180715
...; tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width, Laya.stage.height); } function onSuccess(url) { this.video = new Laya.Video(Laya.stage.width, Laya.stage.height); this.video.load(url); Laya....
来源: Laya2.0_文档 发布时间: 20210714
...; tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width,Laya.stage.height); } private onSuccess(url:string):void{ this.video = new Laya.Video(Laya.stage.width,Laya.stage.height); this.video.load(url...
来源: Laya2.0_文档 发布时间: 20210715