大约有 496 项符合查询结果, 库内数据总量为 31,715 项。 (搜索耗时: 0.0043 秒)
Laya_社区(347) Laya2.0_文档(56) Laya3.0_文档(34) Laya_示例(23) Laya3.0_api(14) Laya2.0_示例(10) Laya2.0_api(8) laya_api(4)
...phics.drawTexture(this._agentTexture, (this._agent.width - bounds.width) * 0.5, (this._agent.height - bounds.height) * 0.5); } 附件 : --> 2021-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Fred...
来源: Laya_社区 发布时间: 20210911
...skArea = new Sprite(); guideContainer.addChild(maskArea); maskArea.alpha = 0.5; maskArea.graphics.drawRect(0, 0, Laya.stage.width, Laya.stage.height, "#000"); // 绘制一个圆形区域,利用叠加模式,从遮罩区域抠出可交互区 interactionArea = new Sprite(); guideContainer.addChild(...
来源: Laya2.0_示例 发布时间: 20260130
... Rectangle(0,0,BarCell.WID,BarCell.WID); private var pos:int = BarCell.WID*0.5; private var endTime:int; private var cdTime:int; public var isCd:Boolean = false; public function CdSprite() { super(); this.scrollRect = rect; this.alpha = 0.85; } public function setSize(bian:int):void{ r = bian / Math...
来源: Laya_社区 发布时间: 20171124
...eton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scale(0.5, 0.5); this.skeleton.on(Event.STOPPED, this, this.play) this.play(); } private onError(): void{ console.log("parse error"); } private play(): void { console.log("1111111111"); if(++this.index >= this.skeleton.getAnimNum()...
来源: Laya2.0_文档 发布时间: 20210715
...轴心点 this.sprite.pivotY = this.sprite.height/2; this.sprite.anchorX = 0.5; //锚点:sprite的中心 this.sprite.anchorY = 0.5; this.sprite.scale(0.5, 0.5); //缩放大小 this.sprite.scaleX = 2; //x、y分别设置缩放 this.sprite.scaleY = 2; this.sprite.skew(5, 5); //倾斜度 this.sprite.sk...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMo...
来源: Laya_示例 发布时间: 20260130
...d":"linearNone","tween":true,"target":3,"key":"scaleY","index":0},{"value":0.5,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":2},{"value":1,"tweenMethod":"linearNone","tween":true,"target":3,"key":"scaleY","index":10}],"scaleX":[{"value":1,"tweenMethod":"linearNone","tween...
来源: Laya_社区 发布时间: 20210111
...ry.buildArmature(0); mArmature.x = 400; mArmature.y = 500; mArmature.scale(0.5, 0.5); Laya.stage.addChild(mArmature); mArmature.on(Event.STOPPED, this, completeHandler); play(); } private function completeHandler():void { play(); } private function play():void { mCurrIndex++; if (mCurrIndex >= mA...
来源: Laya_社区 发布时间: 20170406
...数组元素与列的对应顺序。 Ratio 设置比例。假设设置为0.5,则表示对应的列在水平方向占50%的宽度。 Piority 设置优先级。在运行时,这个值会被标准化为(-1, 0, 1)三个值之一。当item的宽度超出或者不足列的宽度时,会先调整优先...
来源: Laya3.0_文档 发布时间: 20251010
... Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); layaMonkey.tra...
来源: Laya_示例 发布时间: 20260130