大约有 7,353 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0125 秒)
Laya_社区(6642) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(75) Laya2.0_示例(57)
... 也没有详细说明如何通过ArrayBuffer构造Texture。 我尝试了 Sprite.loadImage(ArrayBuffer) Sprite.loadImage(base64(ArrayBuffer)); 都不能显示图片。 2017-12-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...
来源: Laya_社区 发布时间: 20171207
...ine", true); // 设置画布上的对齐参照物 var reference = 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....
来源: Laya_示例 发布时间: 20250226
...isplay.cssClasspublic class TextStyleInheritanceTextStyle laya.display.css.SpriteStyle 文本的样式类 Public Properties PropertyDefined By align : String 表示使用此文本格式的文本段落的水平对齐方式。 TextStyle asPassword : Boolean 指定文本字段是否是密码文...
来源: Laya2.0_api 发布时间: 20190513
可以为线条设置hit(碰撞)区域吗? var sp:Sprite = new Sprite();sp.graphics.clear(); sp.graphics.drawRect(0, 0, 100,100,"#ff0000" ); var hit:HitArea = new HitArea(); hit.hit = sp.graphics; sp.hitArea = hit; 使用上面的方法可以给有填充 sp 添加触发区域! 但是如...
来源: Laya_社区 发布时间: 20161216
打包成APP后轴心点未设置成功 我给一个sprite设置了轴心点,在网页上看sprite的显示位置是正确的,但是打包成APP之后,sprite的显示位置就跟没有设置轴心点一样 2017-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20170616
...9-07-02 0 0 分享 微博 QZONE 微信 星星 赞同来自: 同:在一个Sprite里面添加了刚体跟碰撞体,我调用的Sprite的destory方法摧毁,然后就报这个错 2019-11-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...
来源: Laya_社区 发布时间: 20181210
...tionAll Packages | All Classes | Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D Node EventDispatcher Object TerrainMeshSprite3D 类用...
来源: Laya2.0_api 发布时间: 20190513
...:Texture = Laya.loader.getRes("../../../../res/apes/monkey2.png"); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); })); 这可以正常运行,但是我把外面的 load 函数去掉,将第二个参数中的函数内容独立后却不能...
来源: Laya_社区 发布时间: 20170804
...ants Packagelaya.d3.coreClasspublic class BaseCameraInheritanceBaseCamera Sprite3D Node EventDispatcher ObjectSubclasses Camera BaseCamera 类用于创建摄像机的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean ...
来源: Laya2.0_api 发布时间: 20190513
...Accessors inst touchCount touchTarget touches Methods getNodeUnderPoint getSprite3DUnderPoint getSpriteUnderPoint handleKeys handleMouse handleTouch hitTest cancelClick getTouchPos hasKeyDown Constructors constructor new InputManager(): InputManager Defined in laya/events/InputManager.ts:48 Returns ...
来源: Laya3.0_api 发布时间: 20231115