大约有 2,481 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0082 秒)
...t.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Inherited from PixelLineRenderer.sortingFudge Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...项 由于位图字体涉及到XML文件(.fnt)的解析。在小游戏环境中,则必须要使用xml的解析库`domparserinone.js`。在LayaAirIDE中,我们要检查一下,项目设置(快捷键F9)的类库设置里,是否勾选了`domparserinone.js`,勾选后再编译,发布...
来源: Laya2.0_文档 发布时间: 20210715
...纹理决定了一个物体的形状和外观,但是光源决定了你的环境的颜色和氛围。灯光的种类有多种,不同的光源呈现的效果不同,可以设置不同的参数。 目前光源的种类有: DirectionLight(平行光) PointLight(点光源) SpotLight(聚...
来源: Laya3.0_文档 发布时间: 20251010
...t.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Inherited from PixelLineRenderer.sortingFudge Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...t.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 userData userData: any Defined in laya/d3/physics/CharacterController.ts:54 Static UPAXIS_X...
来源: Laya3.0_api 发布时间: 20231115
...的游戏,建议采用位图文本。 > 普通的文本,在不同运行环境下,可能会存在像素级的位置偏移。比如Chrome低版本和高版本也存在位置偏移。所以要求高的静态UI文本,可以采用位图显示文本。 > > 位图文本适用于文本单字总量...
来源: Laya2.0_文档 发布时间: 20210715
...d save save(): SaveCmd Defined in laya/display/Graphics.ts:401 保存当前环境的状态。 Returns SaveCmd scale scale(scaleX: number, scaleY: number, pivotX?: number, pivotY?: number): ScaleCmd Defined in laya/display/Graphics.ts:385 缩放当前绘图至更大或更小。(推荐使用transform...
来源: Laya3.0_api 发布时间: 20231115
...t.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Inherited from PixelLineRenderer.sortingFudge Defined in ...
来源: Laya3.0_api 发布时间: 20231115
...:11 问题: 运行闪退 具体信息如下: 硬件+系统环境: LayaAirIDE: 示例工程: 构建发布: Deveco Studio版本: API版本: Deveco Studio 构建日志:/Applications/DevEco-Studio.app/Contents/tools/node/bin/node /Applications/DevEco-...
来源: Laya_社区 发布时间: 20250106
...t.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inherited from Component.scriptPath Defined in laya/components/Component.ts:35 sortingFudge sortingFudge: number Inherited from PixelLineRenderer.sortingFudge Defined in ...
来源: Laya3.0_api 发布时间: 20231115