大约有 545 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(324) Laya3.0_api(61) Laya2.0_api(58) laya_api(54) Laya2.0_文档(37) Laya3.0_文档(9) Laya2.0_示例(1) Laya_示例(1)
... 首先我们先假定下图(图1)是一个image图片 sp1 被添加到舞台,辅助线为坐标轴,图片大小为172*172: 为了定位准确以及换其他skin的时候也能保持中心点不变,我们改变注册点到图片正中心,如下图(图2) sp1.pivotX=sp1.width>>...
来源: Laya_社区 发布时间: 20161214
...我们要对文本进行处理,不处理的话内容有可能超出我们舞台。 Laya.display.text 中所使用的API 参数:  hidden:不显示超出文本域的字符。 visible:不进行任何裁切。 scroll:不显示文本域外的字符像素,并且支持scroll接口。 `...
来源: Laya2.0_文档 发布时间: 20210715
...屏,使得新添加的元素始终保持在最底部显示? 加载到舞台的3D模型不显示贴图 unity中的模型导出后在laya中显示不正常 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 新手开发游戏,求...
来源: Laya_社区 发布时间: 20180507
...新的 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
...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
... 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
...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
... 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
... 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
... 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