大约有 1,869 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
Laya_社区(616) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(70) Laya2.0_示例(68)
... 角色行走时获取高度: var mheight:Number = terrainSprite.getHeight(x, z); //mheight即为当前角色所在位置高度 if (isNaN(mheight)) //非数字,则走到不走区域...
来源: Laya_社区 发布时间: 20170505
...内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 运用Sprite的属性blendMode为"destination-out"时得到黑圈,与引擎示例中的效果不同,想知道为什么 Laya2.1.0 JS调用Java PlatformClass undefined 请问在HTM...
来源: Laya_社区 发布时间: 20161221
...te var mArmature:Skeleton; private var index:int;//帧频 private var time:Number; public function DragonDemo() { Laya.init(800,600,WebGL); index=15; mFactory=new Templet(); mFactory.on(Event.COMPLETE,this,omTemLoaded); mFactory.loadAni('NewDragon/NewDragon.sk'); } private function omTemLoaded():voi...
来源: Laya_社区 发布时间: 20170509
...aTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha ...
来源: laya_api 发布时间: 20170603
...Loaded),Handler.create(this, onProgress)); } private function onProgress(v:Number):void { trace("onProgress",v); } 不管添加多少资源,onProgress都只会调用一次 之后就触发onLoad回调 即使放到远程服务器上并且限制网速也一样 demo已上传 ...
来源: Laya_社区 发布时间: 20180428
... 个回复 Laya_Aaron 赞同来自: 岳超栋 set ccdMotionThreshold(value:Number) 这个设置continuousCollisionDetection 阀值,超过这个值才进行检测 2018-11-16 1 2 分享 微博 QZONE 微信 岳超栋 赞同来自: 晨 scene.physicsSimulation.continuousCollisionDetection = true; 这...
来源: Laya_社区 发布时间: 20181115
...内meshSprite添加阴影属性无效 TextInput 的 type 属性设置为 number 的时候 maxChars 字数限制无效 子域里面排行榜滑动无效,找不到原因。。跪求指导。。。 在设计模式里A元素比B元素层级低,当我点击舞台的时候给A的层级通过zOrder设...
来源: Laya_社区 发布时间: 20170417
...Child(pie); Laya.timer.frameLoop(1,this,onLoop); } private var curAngle:Number = 0; private function onLoop():void { pie.graphics.drawPie(300,300,100,curAngle,curAngle+1,"#000000"); curAngle+=1; if(curAngle>360) { Laya.timer.clear(this,onLoop); } } 为了实现CD转圈的效果,所以持续...
来源: Laya_社区 发布时间: 20180725
...this.loadHomeUI() } }), Laya.Handler.create(this, (resProg: number) => { // 第三个参数:进度回调 console.log("预加载资源进度>>>>", resProg) })) 附件 : --> 2025-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...
来源: Laya_社区 发布时间: 20250616
...oaded)); } private createButton(skin: string,name:string,cb:Function,index:number): Button { var btn: Button = new Button(skin,name); Laya.stage.addChild(btn); btn.on(Event.CLICK,this,cb); btn.size(147,55); btn.name = name; btn.right = 10; btn.top = index * (btn.height + 10); return btn; } private o...
来源: Laya2.0_示例 发布时间: 20260106