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

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

391. laya.resource.VideoTexture_API3.0 [ 71%]

...ture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrecti...

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

392. laya.d3.component.hlod.HLODRender_API3.0 [ 71%]

...ss HLODRender Hierarchy BaseRender HLODRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow curHLODRS destroyed distanceForSort enabled hideFlags id lightmapIndex lightm...

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

393. TypeError: Cannot read property 'length' of null [ 71%]

...误 Cannot read property 'displayObject' of null Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 构建APP Android Studio打出的APK 报apploader.js:4515 TypeError: addGlobalValueDefine is not a function 关于graphics.drawTexture方法设置纹理报错TypeError: te...

来源: Laya_社区 发布时间: 20200309

394. 屏幕适配的缩放模式详解(TypeScript-2D基础篇(TS)-屏幕适配) [ 71%]

...全局文本信息         private txt: Text;           constructor() {         //初始化舞台大小         Laya.init(1136, 640);           //设置适配模式         Laya.stage.scaleMode = this.modes;         //设置舞台背景...

来源: Laya2.0_文档 发布时间: 20200307

395. UI-List [ 71%]

...const WID = 373, HEI = 85; const Box = Laya.Box; class Item extends Box { constructor(){ super(); const Image = Laya.Image; this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); } setImg(src) { this.img.skin = src; } } class UI_List { constructor() { const Browser = Laya.Browser, Web...

来源: Laya2.0_示例 发布时间: 20241001

396. 如何根据对象获取该对象类名?以前的用法在这边获取不了了。。。 [ 71%]

...接 提交 3 个回复 lvfy 赞同来自: 已经解决: obj["__proto__"].constructor.name。同上述类取名一样,取出来的为当前类的类型。 或者obj.__proto__.constructor.name,但此用法编译报错,实际运行可行。 2017-10-19 0 0 分享 微博 QZONE 微信 lvfy 赞同...

来源: Laya_社区 发布时间: 20171019

397. 实例化 laya.ani.bone.Skeleton 对象报错 [ 71%]

....Skeleton 对象报错 export default class showSpine extends Laya.Script{ constructor() { super(); //创建一个Skeleton对象 //Laya let skeleton: laya.ani.bone.Skeleton = new laya.ani.bone.Skeleton(); } } 实例化报错 为啥 2018-09-28 添加评论 免费帖 --> 分享 微博 QZONE 微信 没...

来源: Laya_社区 发布时间: 20180928

398. 引擎示例中的错误 [ 71%]

...入,有1处问题 链接:https://layaair2.ldc2.layabox. ... DForm 1、constructor里的最后一行: Laya.stage.on(Laya.Event.RESIZE, this, this.fitDOMElements, [emailInput, birthdayInput, passwordInput]); 当stage调整尺寸时,对3个input位置进行调整,当初次运行时,3个inpu...

来源: Laya_社区 发布时间: 20221205

399. 分享:关于自定义场景继承的实现 [ 71%]

...eScene.tsexport namespace base{ export class BaseScene extends Laya.Scene{ constructor(){ super(); console.log('BaseScene:我是基类BaseScene,我的子类是导出类,我的父类是场景类'); } } } 导出UI 导出后layaMaxUI.ts的内容如下/**This class is automatically generated by LayaAi...

来源: Laya_社区 发布时间: 20200827

400. laya.ani.bone.Templet_API3.0 [ 71%]

...let Class Templet 动画模板类 Hierarchy AnimationTemplet Templet Index Constructors constructor Properties _id aniSectionDic bindBoneBoneSlotDic boneSlotArray boneSlotDic deformAniArr destroyedImmediately drawOrderAniArr eventAniArr ikArr isParseFail lock mBoneArr mRootBone name pathArr rate ski...

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