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

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

1. laya.display.Stage_API3.0 [ 100%]

...Only exported Menu Globals "laya/display/Stage" Stage Class Stage Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不同的画布大小,画布越大,渲染压...

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

2. laya.utils.Stat_API3.0 [ 92%]

...tatic loopCount loopCount: number = 0 Defined in laya/utils/Stat.ts:104 主舞台 Stage 渲染次数计数。 Static memoryShow memoryShow: Array<StatUIParams> = [Stat.GPUMemory, Stat.TextureMemeory, Stat.RenderTextureMemory, Stat.BufferMemory] Defined in laya/utils/Stat.ts:65 Static renderSho...

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

3. laya.display.Animation_API3.0 [ 87%]

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

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

4. laya.ui.Button_API3.0 [ 83%]

... 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/Button.ts:351 指定对象的状态值,以数字表示。 默认值为3。此值决定皮肤资源...

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

5. laya.ui.CheckBox_API3.0 [ 83%]

... 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 Button.stateNum Defined in laya/ui/Button.ts:351 指定对象的状态值,以数字表示。 默认值...

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

6. laya.display.Sprite_API3.0 [ 83%]

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

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

7. laya.ui.ProgressBar_API3.0 [ 80%]

...,设置了它的皮肤、位置、宽高、网格等信息,并添加到舞台上。 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

8. laya.ui.Image_API3.0 [ 80%]

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

9. laya.display.Text_API3.0 [ 78%]

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

10. laya.ui.HScrollBar_API3.0 [ 78%]

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