大约有 1,446 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0058 秒)
Laya3.0_api(470) Laya_社区(444) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...编译后错误 gameContext?id=1:58 libs/laya.ui.js: TypeError: Class constructor Component cannot be invoked without 'new' at new Widget (laya.ui.js:201) at laya.ui.js:349 at laya.ui.js:1 at wrapFn (gameContext?id=1:51) at require (VM37 WAGameSubContext.js:2) ...
来源: Laya_社区 发布时间: 20210322
...erarchy BatchRender StaticInstanceBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow checkLOD destroyed distanceForSort enabled hideFlags id lightmapIn...
来源: Laya3.0_api 发布时间: 20231115
..."type": "string" } ] } }) export class TestBluePrint extends Laya.Script { constructor(testParams: string) { super(); } } (图12-1) 3.2 属性 在变量前使用装饰器的标识@bpProperty,在get和set前使用装饰器的标识@bpAccessor,示例代码如下所示: const { bpClass, bpAcc...
来源: Laya3.0_文档 发布时间: 20250103
...建角色控制器。 Hierarchy PhysicsComponent CharacterController Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData UPAXIS_X UPAXIS_Y UPAXIS_Z Accessors awaked btColliderObject canCollideWith ccdMotionThreshold ccdSweptSphereRadius col...
来源: Laya3.0_api 发布时间: 20231115
...cript extends Laya.Script { @property({ type: Laya.List }) list: Laya.List constructor() { super(); } // 组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { // 给List对象赋值 var data: Array<any> = []; for (var m: number = 0; m < 20; m++) { data.push({ m_lab...
来源: Laya3.0_文档 发布时间: 20240910
...三种开发语言、LayaAirIDE让项目开发更高效。class UI_Image { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.A...
来源: Laya2.0_示例 发布时间: 20250220
... 类用于生成立方体纹理。 Hierarchy BaseTexture TextureCube Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuM...
来源: Laya3.0_api 发布时间: 20231102
...pe: Laya.OpenDataContextView }) public opendata: Laya.OpenDataContextView; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.opendata.pos(100,100); this.opendata.size(500,500); } } 2. 代码...
来源: Laya3.0_文档 发布时间: 20240910
...屁 const a = new Laya.Event() Laya.__classmap['laya.events.Event'] == a.constructor //true 2017-08-10 0 0 分享 微博 QZONE 微信 宇智波 旋 赞同来自: /**返回指定对象的完全限定名 */ static getQualifiedClassName(value):string { var type = typeof value; if (!value || (type ...
来源: Laya_社区 发布时间: 20170317
...ionUtils Collision 类用于检测碰撞。 Hierarchy CollisionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxContainsSphere closestPointBoxPoint closestPointPlanePoint closestPointPointTriangle closestPointSpherePoint closestPointSphereSphere distanceBoxToBox distan...
来源: Laya3.0_api 发布时间: 20231115