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

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

391. laya.ui.Image_API3.0 [ 45%]

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

392. laya.ui.UIGroup_API3.0 [ 45%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Defined in laya/ui/UIGroup.ts:381 表示按钮的状态值,以数字表示,默认为3态。 see laya.ui.Button#stat...

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

393. laya.d3.core.scene.Scene3D_API3.0 [ 44%]

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

394. laya.spine.SpineSkeleton_API3.0 [ 44%]

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

395. laya.display.EffectAnimation_API3.0 [ 44%]

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

396. laya.ani.bone.Skeleton_API3.0 [ 44%]

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

397. laya.ui.Tab_API3.0 [ 44%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from UIGroup.stateNum Defined in laya/ui/UIGroup.ts:381 表示按钮的状态值,以数字表示,默认...

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

398. laya.ui.RadioGroup_API3.0 [ 44%]

... Stage Inherited from Text.stage Defined in laya/display/Sprite.ts:1656 对舞台 stage 的引用。 Returns Stage stateNum get stateNum(): number set stateNum(value: number): void Inherited from UIGroup.stateNum Defined in laya/ui/UIGroup.ts:381 表示按钮的状态值,以数字表示,默认...

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

399. laya.ui.TextInput_API3.0 [ 44%]

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

400. 显存优化:纹理压缩的使用(TypeScript-2D进阶篇(TS)-性能优化) [ 44%]

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

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