大约有 189 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
...ance; public function Dialog_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/btn_close.png", Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadCom...
来源: Laya3.0_api 发布时间: 20231115
...模式问题 按着教程上新手引导来做的一个全屏是绿色的画布,还有个跟着鼠标移动的圆形,想做一个鼠标移动到哪里 哪里就是透明的,可是圆形每次移动到舞台边缘的时候就会变成黑色。 2017-12-13 添加评论 免费帖 --> 分享 微博...
来源: Laya_社区 发布时间: 20171213
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: laya_api 发布时间: 20170929
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513
...ee_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree_folde...
来源: Laya3.0_api 发布时间: 20231115
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513
...,就能得到渲染边框,最后将渲染边框重新加到渲染好的画布上面,便可实现轮廓效果 代码如下 createDrawMeshCommandBuffer(camera:Camera,renders:BaseRender[],materials:Material[]):CommandBuffer{ var buf:CommandBuffer = new CommandBuffer(); //当需要在流程中拿...
来源: Laya3.0_文档 发布时间: 20251010
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya3.0_api 发布时间: 20231115
... 2.2.1 位置Position 精灵的位置说的是精灵锚点/轴心点所处画布的位置。Position有x和y两个参数,以画布的左上角为原点,从左指向右为x轴正向,从上指向下为y轴正向。 2.2.2 大小Size 精灵的大小是指精灵的宽(W)和高(H),单位...
来源: Laya3.0_文档 发布时间: 20251010
..."none",不做任何缓存。 当值为"normal"时,canvas模式下进行画布缓存,webgl模式下进行命令缓存。 当值为"bitmap"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTa...
来源: Laya2.0_api 发布时间: 20190513