大约有 2,482 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0069 秒)
Laya_社区(720) Laya3.0_api(672) Laya2.0_api(367) laya_api(298) Laya_示例(150) Laya2.0_示例(114) Laya2.0_文档(107) Laya3.0_文档(54)
...ram rec 生成图片的区域信息 * @param callBack 0成功;1失败 */ public function onCreateCustomPic(box:Box,callBack:Handler =null):void { //box是引擎层显示的一块区域对象,你可以随便改变,下面drawToCanvas后面是绘制大小跟位置信息,大概代码就是这样...
来源: Laya_社区 发布时间: 20180830
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton...
来源: Laya3.0_api 发布时间: 20231115
... * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false, autoRecover:Boolean = true):Tween { return Pool.g...
来源: Laya_社区 发布时间: 20180425
....x 上我实现了,但是2.0 最新版 接口变了, Texture 的drawto public function setTo(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0):void { 变成了Textrue2d了, 像以前1.x版本Textrue 还能用htmlcanvas,现在不能用了。而且直...
来源: Laya_社区 发布时间: 20190624
...问题 没想到是getCell的问题 我看API裡写 getCell () method public function getCell(index:int):Box 通过可视单元格索引,获取单元格。 是不是就是指,只能获取可视的单元格 有没有获取可视外单元格的办法 2017-08-28 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170828
...个类叫com.shenlong.view.scene.login.LoginScene,里面有一个方法 public function callback1(d:*):void,要调用这个分方法在JS里要怎么写, 是Laya.LoginScene.callback1(dataObj)这样吗? 2017-02-07 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 你这个问题再群里...
来源: Laya_社区 发布时间: 20170207
...ParticleTemplateWebGL.as文件中,可以看到,在下边的方法 public override function addParticleArray(position:Float32Array, velocity:Float32Array):void { 中,把所有的参数放到一个数组中: var particleData:ParticleData = ParticleData.Create(settings, positio...
来源: Laya_社区 发布时间: 20190416
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Widget" Widget Class Widget 相对布局插件 Hierarchy Component Widget Index Constructors constructor Properties _extra _singleton owner r...
来源: Laya3.0_api 发布时间: 20231102
...port laya.events.Event; import laya.utils.Stat; /** * ... * @author ... */ public class PBRStandardMaterialDemo { public function PBRStandardMaterialDemo() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = La...
来源: Laya_示例 发布时间: 20260106
...未加载,在class A里面定义了class B的静态变量 class A{ public static b:B = new B(); } 这种,由于B并不存在 所以翻译成A.b=new B();肯定也是报错的,这种情况typescript是怎么写才好? 2017-03-02 0 0 分享 微博 QZONE 微信 Laya_XS 赞同来自: 在l...
来源: Laya_社区 发布时间: 20170302