大约有 987 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0066 秒)
Laya_社区(609) Laya2.0_文档(80) Laya3.0_api(67) Laya2.0_api(60) laya_api(56) Laya2.0_示例(41) Laya_示例(37) Laya3.0_文档(37)
...ties getMousePoint getObjectByName getObjectDataByName getRepaint getScreenPositionByTilePos getSelfBounds getTileData getTileDataByScreenPos getTilePositionByScreenPos get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener ...
来源: Laya3.0_api 发布时间: 20231115
...间我用的是 this.camera.viewport.project(this.playerArray[i].transform.position, this.camera.projectionViewMatrix, this.imgPos2); 转换的坐标到this.imgPos2里面。 像这样的一个场景。加载图片到3D物体上跟着3D物体跑动这样是没有问题的,而我。但当要做的...
来源: Laya_社区 发布时间: 20190212
... this.spr_xiaoshan.addChild(this.skeleton); this.skeleton.pos(0, 0); this.skeleton.scale(0.3, 0.3); this.skeleton.play(0, true); } else { console.warn("无效的 skeleton, 跳过添加:", templet); } }});只出现一闪而过,没有...
来源: Laya_社区 发布时间: 20250928
...rialize onAwake onDestroy onDisable onEnable once open parentRepaint pivot pos reCache removeChild removeChildAt removeChildByName removeChildren removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setLockView setSelfBounds set_anchorX set_anchorY set_height set_scale...
来源: Laya3.0_api 发布时间: 20231115
... onAwake onDestroy onDisable onEnable once parentRepaint pivot play playTo pos reCache removeChild removeChildAt removeChildByName removeChildren removeLabel removeSelf render repaint replaceChild runCallLater scale setChildIndex setGraphics setSelfBounds set_anchorX set_anchorY set_height set_scale...
来源: Laya3.0_api 发布时间: 20231115
...ton = templet.buildArmature(1); this.pos1.addChild(this.skeleton); this.skeleton.play("work", true); }); templet.loadAni("spine/ndz01/ndz01.sk"); 我龙骨是这样调用的,后面不用了,我就 this.skeleton.des...
来源: Laya_社区 发布时间: 20210811
...Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(reference); reference.pos(100, 100); reference.size(600, 400); reference.graphics.drawRect(0, 0, reference.width, reference.height, "#CCCCCC"); // 每次舞台尺寸变更时,都会调用Utils.fitDOMElementInArea设置Video的位置,对齐的...
来源: Laya_社区 发布时间: 20200909
...为什么会偶尔触发一次的原因所在 修改方式: 将body的pos坐标去掉,让size值从左上角开始算起即可 2016-11-21 1 3 分享 微博 QZONE 微信 ai834398016 赞同来自: 点击运行结果可以查看,偶尔点击了没反应 GlabRP.zip 2016-11-21 0 3 分享 微博 ...
来源: Laya_社区 发布时间: 20161121
...精灵有如下基础属性: (图2-3) 基础属性 功能说明 位置 Position 精灵的位置坐标 宽高 Size 精灵的宽高 锚点 Anchor 精灵的锚点 缩放 Scale 精灵的缩放 倾斜 Skew 精灵的倾斜角度 旋转 Rotation 精灵的旋转度 可见 Visible 精灵是否可见 透...
来源: Laya3.0_文档 发布时间: 20251010
...显示位置在可拖拽区域之内 sp.pivot(sp.width/2,sp.height/2); sp.pos(250,450); Laya.stage.addChild(sp); //为需要滑动的对象添加down,down下开始move,up时移除move和up事件 sp.on(Event.MOUSE_DOWN,this,onDown); Laya.stage.on(Event.MOUSE_UP,this,onUp); } private function onUp...
来源: Laya_社区 发布时间: 20170106