大约有 486 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
Laya_社区(338) Laya2.0_文档(56) Laya3.0_文档(33) Laya_示例(23) Laya3.0_api(14) Laya2.0_示例(10) Laya2.0_api(8) laya_api(4)
...闪屏界面加个进度。为什么接口回调的参数progress是从0到0.5啊,我的引擎版本是3.0.0正式版。我现在为了显示0-100这么用这个回调 Math.trunc(progress * 2 * 100);我这样使用会有问题嘛? 因为这个跟gameplay没关系,我直接使用引擎示...
来源: Laya_社区 发布时间: 20231103
...Armature(1); mArmature.x = mStartX; mArmature.y = mStartY; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.LABEL, this, onEvent); mArmature.on(Event.STOPPED, this, completeHandler); play(); } function completeHandler() { play(); } function play() { mCurrIndex++; if (mCu...
来源: Laya_示例 发布时间: 20251130
...tage.addChild(mArmature); mArmature.pos(mStartX, mStartY); mArmature.scale(0.5, 0.5); mArmature.on(Event.LABEL, this, this.onEvent); mArmature.on(Event.STOPPED, this, this.completeHandler); this.play(); } completeHandler() { this.play(); } play() { mCurrIndex++; let aniNum = mArmature.getAnimNum(); ...
来源: Laya2.0_示例 发布时间: 20251130
...rLine() { timeLine.addLabel("turnRight",0).to(target,{x:450, y:100, scaleX:0.5, scaleY:0.5},2000,null,0) .addLabel("turnDown",0).to(target,{x:450, y:300, scaleX:0.2, scaleY:1, alpha:1},2000,null,0) .addLabel("turnLeft",0).to(target,{x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1},2000,null,0) .addLab...
来源: Laya_示例 发布时间: 20251130
... Public Methods MethodDefined By CylinderColliderShape(radius:Number = 0.5, height:Number = 1.0, orientation:int) 创建一个新的 CylinderColliderShape 实例。 CylinderColliderShape clone():*[override] 克隆。 CylinderColliderShape cloneTo(destObject:*):void 克隆。 ColliderShape u...
来源: Laya2.0_api 发布时间: 20190513
...ited Public Methods MethodDefined By ConeColliderShape(radius:Number = 0.5, height:Number = 1.0, orientation:int) 创建一个新的 ConeColliderShape 实例。 ConeColliderShape clone():*[override] 克隆。 ConeColliderShape cloneTo(destObject:*):void 克隆。 ColliderShape updateLocalTr...
来源: Laya2.0_api 发布时间: 20190513
...27 赞同来自: 这个问题是 this.camera.clearColor = new Laya.Vector3(0.5, 0.5, 0.5);应该是Vector4,但是这个错误也太蛋疼了。。 pc上,微信开发工具上都没报错。。 2018-05-03 0 3 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已...
来源: Laya_社区 发布时间: 20180503
...:113 创建一个胶囊体模型 Parameters Default value radius: number = 0.5 半径 Default value height: number = 2 高度 Default value stacks: number = 16 水平层数,一般设为垂直层数的一半 Default value slices: number = 32 垂直层数 Returns Mesh Static createCone createCone(radi...
来源: Laya3.0_api 发布时间: 20231115
[LayaAir3]charactarcontroller的胶囊碰撞体不正常 默认radius:0.5, Height:2 但是设为radius:0.25, Height:1时胶囊碰撞体体正好包围蓝色胶囊网格体;再关闭编辑器重新打开项目时,发现碰撞胶囊体是大小 默认的0.5和2,但是数值...
来源: Laya_社区 发布时间: 20240304
...is.timeLine.addLabel("turnRight", 0).to(this.target, {x:450, y:100, scaleX:0.5, scaleY:0.5}, 2000, null, 0) .addLabel("turnDown", 0).to(this.target, {x:450, y:300, scaleX:0.2, scaleY:1, alpha:1}, 2000, null, 0) .addLabel("turnLeft", 0).to(this.target, {x:100, y:300, scaleX:1, scaleY:0.2, alpha:0.1},...
来源: Laya2.0_示例 发布时间: 20251130