大约有 107 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多级渐进纹理级别。 Multi Samples:多重采样。 sRGB:此渲染纹理是否使用sRGB读/写转换(只读)。 AnisoLevel:各向异性值。 FilterMode:采...
来源: Laya3.0_文档 发布时间: 20251010
...ALID_OPERATION : glGenSyncTokenCHROMIUM: fence sync must be flushed before generating sync token localhost/:1 WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost obj.loadImage( undefined ,0,0 ,0,0 );报错: Uncaught TypeError: Cannot read property 'indexOf' of undefined ...待续 2017-10-21 ...
来源: Laya_社区 发布时间: 20171021
...log('init'); } } /**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ class GameConfig { static init() { //注册Script或者Runtime引用 let reg = Laya.ClassUtils.regClas...
来源: Laya_社区 发布时间: 20201110
...出UI 导出后layaMaxUI.ts的内容如下/**This class is automatically generated by LayaAirIDE, please do not make any modifications. */ import View=Laya.View; import Dialog=Laya.Dialog; import Scene=Laya.Scene; import {base} from "../script/base/BaseScene"; import BaseScene=base.BaseScene; var RE...
来源: Laya_社区 发布时间: 20200827
...st { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close(); }); } } 1.3.3 关联场景 设置好弹窗之后,需要用...
来源: Laya3.0_文档 发布时间: 20251024
...的格式。 示例代码如下: import { ItemBoxBase } from "./ItemBox.generated"; const { regClass, property } = Laya; @regClass() export class Script extends ItemBoxBase { constructor() { super(); } get dataSource(): any { return super.dataSource; } set dataSource(value: any) { super.dataSource...
来源: Laya3.0_文档 发布时间: 20251010
...并用鼠标点击屏幕来切换动画 import { MainBase } from "./Main.generated"; import KeyBoardManager = Laya.InputManager; import Keyboard = Laya.Keyboard; const { regClass, property } = Laya; @regClass() export class Main extends MainBase { private _animator: Laya.Animator; private _isRun: bo...
来源: Laya3.0_文档 发布时间: 20251010
... is onclicked"); }); //链接地址 function onLink(data) { // TODO Auto Generated method stub Laya.Browser.window.location.href=data; } } //绑定父类 Laya.class(StartResource,"StartResource",StarUI); 主界面 红色是dalog 绿色是超链接按钮 点击超链接按钮。 并点...
来源: Laya_社区 发布时间: 20180810
...源字体、站酷字体等等),也可以很方便的通过Bitmap Font Generator这个第三方的免费工具导出,然后在LayaAir中直接使用。 > Tips: > > Bitmap Font Generator 只有windows版,对于没有windows系统的,复杂度不高的需求,尽可能通过FontClip实现...
来源: Laya2.0_文档 发布时间: 20210715
...ng) 3.下载安装 windows下免费的位图字体制作工具 Bitmap Font Generator。 下载地址:[http://www.angelcode.com/products/bmfont/](http://www.angelcode.com/products/bmfont/install_bmfont_1.13.exe) 4.打开软件,选择 Opotion->FontSetting,来设定需要导出的字体的常规...
来源: Laya2.0_文档 发布时间: 20201114