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

大约有 925 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0141 秒)

821. LayaFlash针对资源的加载是同步还是异步? [ 49%]

...案 laya针对页游耗用内存大的问题是如何解决的? 加载到舞台的3D模型不显示贴图 IDE1.7.8 json图集加载问题 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 请问下加载TFF字体要怎么加载呢? 打包出来...

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

822. laya.physics.PolygonCollider_API3.0 [ 49%]

...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

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

823. laya.ui.UIComponent_API3.0 [ 49%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

824. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 49%]

...00个雪花,当雪花移动超出边界或缩放小于0时进行了移除舞台,并调用Pool.recover()方法,使指定的对象回收至对象池内。 ##### ```typescript //初始化引擎 Laya.init(1136, 640, Laya.WebGL); //等比缩放 Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; //背...

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

825. laya.ui.HScrollBar_API3.0 [ 49%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

826. laya.ui.VScrollBar_API3.0 [ 49%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

827. rigidBody.applyForce 物体不会移动 [ 49%]

...e: Laya.Scene3D): void { this.scene = new Laya.Scene3D(); //将场景加到舞台上 this.scene = scene; Laya.stage.addChild(scene); //添加方向光 var directionlight: Laya.DirectionLight = scene.getChildByName( "Directional Light" ) as Laya.DirectionLight; this.directionlight = directionlight; /...

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

828. laya.physics.ChainCollider_API3.0 [ 49%]

...a/components/Component.ts:312 组件被禁用时执行,比如从节点从舞台移除后 Returns void onEnable onEnable(): void Inherited from Component.onEnable Defined in laya/components/Component.ts:281 组件被启用后执行,比如节点被添加到舞台后 Returns void Optional onLateUpd...

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

829. laya.ui.ScrollBar_API3.0 [ 49%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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

830. laya.ui.Box_API3.0 [ 49%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from Text.staticCache Defined in laya/display/Sprite.ts:389 设置cacheAs为非空时此值才有...

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