大约有 867 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(581) Laya3.0_api(67) Laya2.0_api(60) Laya2.0_文档(59) laya_api(55) Laya3.0_文档(40) Laya2.0_示例(3) Laya_示例(2)
...返回编号指定对象池中的一个物体,然后在外部进行信息设置 EnqueueItem 调用对象回池,根据指定编号放置到对应的对象池中 ClearPool 清理对象池,将指定对象池中的物体放到Laya默认的内存回收机制中,等待回收 备注: 使用时需...
来源: Laya_社区 发布时间: 20191206
...渲染错误的问题,我们测试并没有复现。 2、ide多语言的设置问题,需要您提供给一个可以复现的demo。 3、displayChild的问题我们已经复现出了,下一步会考虑比较好的修复方法。 2021-11-08 0 14 分享 微博 QZONE 微信 Laya_Fred 赞同来自:...
来源: Laya_社区 发布时间: 20211105
...lpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组...
来源: laya_api 发布时间: 20170929
...hSlider:HSlider; public function HSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/hslider.png", "resource/ui/hslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...
来源: Laya3.0_api 发布时间: 20231115
...vSlider:VSlider; public function VSlider_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vslider.png", "resource/ui/vslider$bar.png"], Handler.create(this, onLoadComplete));//加载资源。 ...
来源: Laya3.0_api 发布时间: 20231115
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode : String指定要使用的混合模...
来源: laya_api 发布时间: 20170929
...find scene:GameView.scene undefined 初学者求助,如何通过九宫格设置image横向放大且不失真 问题求助!!!! list 添加引发问题,求助! Uncaught unknown animationClip version. 问题状态 最新活动: 2017-03-13 20:49 浏览: 2642 关注: 3 人 GamingSpree • 2...
来源: Laya_社区 发布时间: 20170313
...-08 09:14 比如说:我想把模型放在(0,0,0)位置,我该如何设置?下面的评论有我改动的代码,但是模型无法显示,是哪里出了问题?实在是没弄明白,麻烦帮忙看下 sfsmmc • 2017-08-08 10:29 相机的坐标我也懵了,x,y,z还是透视坐...
来源: Laya_社区 发布时间: 20170807
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoPlay : Boolean 表示是否...
来源: Laya2.0_api 发布时间: 20190513