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

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

401. 压缩纹理 · LayaAir3.4 · 引擎文档 · LAYABOX [ 35%]

...DE里Image组件自带的那张图,我们将宽高改成512*512后, 当舞台上什么显示也没有的时候,初始显存占用是2.31M,使用纹理压缩格式,只增加170K,加上初始大小最终为2.48M。而原图则增加1024K,达到3.31M。如图4-1所示。所以显存优化...

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

402. laya.display.Input_API3.0 [ 34%]

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

403. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 33%]

...ree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [...

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

404. laya.display.Animation_API3.0 [ 33%]

...放,默认为false。如果设置为true,则动画被创建并添加到舞台后自动播放。 Returns boolean Defined in laya/display/Animation.ts:238 是否自动播放,默认为false。如果设置为true,则动画被创建并添加到舞台后自动播放。 Parameters value: boolean Re...

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

405. laya.map.MapLayer_API3.0 [ 32%]

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

406. laya.ui.ProgressBar_API3.0 [ 31%]

...,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 package { import laya.ui.ProgressBar; import laya.utils.Handler; public class ProgressBar_Example { private var progressBar:ProgressBar; public function ProgressBar_Example() { Laya.init(640, 800);//设置游戏...

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

407. laya.html.dom.HTMLIframeElement_API3.0 [ 31%]

...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...

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

408. laya.html.dom.HTMLDivElement_API3.0 [ 30%]

...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...

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

409. laya.ui.Image_API3.0 [ 30%]

...新的 Image 实例,设置了它的皮肤、位置信息,并添加到舞台上。 package { import laya.ui.Image; public class Image_Example { public function Image_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onIni...

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

410. laya.ui.ColorPicker_API3.0 [ 30%]

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