• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,443 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0056 秒)

411. 微信小游戏加云开发,项目怎样配置 [ 70%]

...编译后错误 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

412. laya.d3.component.volume.batchvolume.StaticInstanceBatchRender_API3.0 [ 70%]

...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

413. 程序蓝图 · LayaAir3.0文档 · LAYABOX [ 70%]

..."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_文档 发布时间: 20240905

414. 列表组件 · LayaAir3.0文档 · LAYABOX [ 70%]

...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_文档 发布时间: 20230927

415. laya.d3.physics.CharacterController_API3.0 [ 70%]

...建角色控制器。 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

416. 开放数据域组件 · LayaAir3.0文档 · LAYABOX [ 70%]

...pe: Laya.OpenDataContextView }) public opendata: Laya.OpenDataContextView; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { this.opendata.pos(100,100); this.opendata.size(500,500); } } 2. 代码...

来源: Laya3.0_文档 发布时间: 20230628

417. UI-Image [ 70%]

...三种开发语言、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_示例 发布时间: 20241001

418. laya.d3.resource.TextureCube_API3.0 [ 70%]

... 类用于生成立方体纹理。 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

419. 怎么获取完全限定类名,就像as的getQualifiedClassName [ 70%]

...屁  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

420. laya.d3.math.CollisionUtils_API3.0 [ 70%]

...ionUtils Collision 类用于检测碰撞。 Hierarchy CollisionUtils Index Constructors constructor Methods boxContainsBox boxContainsPoint boxContainsSphere closestPointBoxPoint closestPointPlanePoint closestPointPointTriangle closestPointSpherePoint closestPointSphereSphere distanceBoxToBox distan...

来源: Laya3.0_api 发布时间: 20231115