• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 7,299 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0133 秒)

1001. 打包成APP后轴心点未设置成功 [ 84%]

打包成APP后轴心点未设置成功 我给一个sprite设置了轴心点,在网页上看sprite的显示位置是正确的,但是打包成APP之后,sprite的显示位置就跟没有设置轴心点一样 2017-06-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...

来源: Laya_社区 发布时间: 20170616

1002. BoxCollider 调用destroy报错 [ 84%]

...9-07-02 0 0 分享 微博 QZONE 微信 星星 赞同来自: 同:在一个Sprite里面添加了刚体跟碰撞体,我调用的Sprite的destory方法摧毁,然后就报这个错 2019-11-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起...

来源: Laya_社区 发布时间: 20181210

1003. laya.d3.core.MeshTerrainSprite3D [ 84%]

...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

1004. 使用3DUI · LayaAir3.0文档 · LAYABOX [ 84%]

...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

1005. 关于Laya.loader.load和getRes的问题 [ 84%]

...: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

1006. laya.d3.core.BaseCamera [ 84%]

...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

1007. laya.events.InputManager_API3.0 [ 84%]

...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

1008. VR的demo有没有加载3D场景的啊,实在不知怎么加 [ 84%]

...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

1009. 关于WebGL矢量图的遮罩问题 [ 84%]

...//等待可调试 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

1010. 关于环形进度条,进度不能重置问题 [ 84%]

...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