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

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

641. laya.ui.ProgressBar_API3.0 [ 39%]

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

642. laya.ui.UIGroup_API3.0 [ 39%]

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

643. laya.display.Input [ 39%]

...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...

来源: laya_api 发布时间: 20170929

644. 做了一个最简单的显示微信子域的程序,但是报错Cannot read property 'USER_DATA_PATH' of undefined [ 39%]

...部显示? 请问在layaIDE里,怎么调用微信小程序API 加载到舞台的3D模型不显示贴图 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么...

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

645. laya.ui.Image_API3.0 [ 39%]

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

646. laya.spine.SpineSkeleton_API3.0 [ 38%]

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

647. laya.ui.RadioGroup_API3.0 [ 38%]

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

648. laya.display.EffectAnimation_API3.0 [ 38%]

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

649. laya.ui.Tab_API3.0 [ 38%]

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

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

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

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