大约有 7,299 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0133 秒)
Laya_社区(6604) Laya2.0_文档(183) Laya3.0_api(118) laya_api(102) Laya2.0_api(90) Laya_示例(86) Laya3.0_文档(59) Laya2.0_示例(57)
打包成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
...I的分类二、IDE中使用UI3D组件2.1 创建一个2D的Prefab2.2 创建Sprite3D,添加UI3D组件2.3 添加2D Prefab资源2.4 更改UI3D属性2.5 调整UI3D位置2.6 脚本控制UI3D使用3DUI 一、概述 2D UI都是纯粹的2D图片按层次显示,不会出现三维立体效果,所以都...
来源: Laya3.0_文档 发布时间: 20231129
...: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
...e = Laya.TextureCube.load("res/sky/skyCube.ltc"); camera.sky = skyBox; var sprite3D = scene.addChild(Laya.Sprite3D.load("cj03/LastHopeScene.lh")); //sprite3D.transform.localScale = new Laya.Vector3(0.2, 0.2, 0.2); sprite3D.once(Laya.Event.HIERARCHY_LOADED, null, function(sprite) { //console.log(scen...
来源: Laya_社区 发布时间: 20170707
...//等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Laya.stage.addChild(sprite) //正方形 sprite.graphics.drawPoly(0, 0, [100, 100, 100, 200, 200, 200, 200, 100], "#ffffff") //一挑粗直线 遮挡正方形的左半...
来源: Laya_社区 发布时间: 20180224
...per(this); this.angle = 0; Laya.timer.loop(200,this,this.loadProgress) var Sprite = Laya.Sprite; this.box = new Sprite(); this.box.cacheAs = "bitmap"; this.box.pos(0,0); this.say.addChild(this.box); this.draw = new Sprite(); this.box.addChild(this.draw); this.draw.graphics.drawPie(this.say.width/2, ...
来源: Laya_社区 发布时间: 20170807