大约有 3,124 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner run...
来源: Laya3.0_api 发布时间: 20231102
...规范 (Entry.ts) 入口函数结构固定,禁止修改: ```typescript export async function main() { /* 正式初始化逻辑 */ } ``` ❌ 禁止提交测试代码到 `main` 函数 --- ## 版本与 API 查询 - 查询 API 时附加 `<LAYA_VERSION>` 版本号 - 迁移时对比 `<LAYA_PR...
来源: Laya3.0_文档 发布时间: 20260128
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchQuaternion" ConchQuaternion Class ConchQuaternion Quaternion 类用于创建四元数。 Hierarchy ConchQuaternion Implements IClone Index Constructors constructor Properties el...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _ex...
来源: Laya3.0_api 发布时间: 20231115
...t {ui} from "../ui/layaMaxUI"; import MyDialogUI = ui.game.MyDialogUI; export class MyDialog extends MyDialogUI { constructor() { super(); } onOpened(param: any): void { console.log("mylog------:" + JSON.stringify("onOpened")); this.openDataView....
来源: Laya_社区 发布时间: 20190307
...zmd • 2018-06-04 17:44 全部引用也不行layaUI.max.all.js里面没有export,导致在其他界面类引用的uicode,找不到,我把uicode复制到LayaUISample.js文件里面可以用,但这样的实时太鸡肋了。反正,你可以试试建个工程2分钟的事。 zmd • 2018-06-...
来源: Laya_社区 发布时间: 20180604
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,请参考文章 see http://ldc2.layabox.com/doc/?nav=...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/Shader3D" Shader3D Class Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE...
来源: Laya3.0_api 发布时间: 20231102
...{ Label } from "laya/ui/Label"; import { Event } from "laya/events/Event"; export class Physics_Physics_Tumbler { private count = 0; private box: Sprite; private totalBox = 200; private label: Label; Main: typeof Main = null; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAnt...
来源: Laya2.0_示例 发布时间: 20260824
...dler = Laya.Handler; import WebGL = Laya.WebGL; import Utils = Laya.Utils; export class UI_Tree { constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_S...
来源: Laya_示例 发布时间: 20260824