大约有 125 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
...et centerX(value: number): void Defined in laya/display/Scene.ts:292 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Defined in laya/display/Scene.ts:296 在父容器中,此对象的水平方向中轴线与...
来源: Laya3.0_api 发布时间: 20231115
...id Inherited from Scene.centerX Defined in laya/display/Scene.ts:292 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from Scene.centerX Defined in laya/display/Scene.ts:296 在父容器中,此对...
来源: Laya3.0_api 发布时间: 20231115
...Text.x Defined in laya/display/Sprite.ts:419 表示显示对象相对于父容器的水平方向坐标值。 Returns number Inherited from Text.x Defined in laya/display/Sprite.ts:423 表示显示对象相对于父容器的水平方向坐标值。 Parameters value: number Returns void y get y(): num...
来源: Laya3.0_api 发布时间: 20231115
...具 var needItem = true; this.maxRight = 0; //如果不开启autoSize 父容器的宽度和高度无法获取 this.autoSize = true; //初始化的时候将坐标放到屏幕右边 this.x = Config.GameWidth; //y坐标取一个随机值 为什么是32 因为我们的整个素材是 32 * 20 拼起来...
来源: Laya_社区 发布时间: 20160803
...越稳定,感觉越流畅; Sprite:统计所有渲染节点(包括容器)数量,它的大小会影响引擎进行节点遍历、数据组织和渲染的效率。其值越小,游戏运行效率越高; DrawCall:此值是决定性能的重要指标,其值越小,游戏运行效率...
来源: Laya3.0_api 发布时间: 20231115