大约有 3,144 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0096 秒)
Laya_社区(2773) Laya3.0_api(82) Laya2.0_api(76) Laya2.0_文档(75) laya_api(71) Laya3.0_文档(54) Laya2.0_示例(7) Laya_示例(6)
场景中有个图片sprite,怎么通过代码获取这个图片节点 场景中有个图片sprite,怎么通过代码获取这个图片节点? getChildByName,这个我知道,怎么得到根节点再getChildByName? 2019-09-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找...
来源: Laya_社区 发布时间: 20190917
...个Laya的AS项目,代码如下: ```java package { import laya.display.Sprite; import laya.events.Event; import laya.net.HttpRequest; import laya.utils.Browser; public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); var sp:Sprite = new Sprite(); var xhr:...
来源: Laya2.0_文档 发布时间: 20210714
...区域为黑色,其它机型都是正常的。 this.guideContainer = new Sprite(); this.guideContainer.cacheAs = "bitmap"; Utils.GuideLayer.addChild(this.guideContainer); this.guideContainer.on(Laya.Event.CLICK, this, this.nextStep); this.mouseEnabled = false; var maskArea: Laya.Sprite = new Laya....
来源: Laya_社区 发布时间: 20171222
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Sprite3DProperties | Methods | Events Packagelaya.d3.coreClasspublic class Sprite3DInheritanceSprite3D Node EventDispatcher ObjectImplements laya.resource.ICreateResourceSubclasses BaseCamera, LightSprite, RenderableSprite...
来源: Laya2.0_api 发布时间: 20190513
...象也消失了 是我的方法使用不对吗? 创建模型 let s:Laya.Sprite3D = (Laya.Loader.getRes("LayaScene_Plant/Conventional/Tree_52.lh") ).clone() as Laya.Sprite3D; 销毁模型 destroy(); 帮我看看 谢谢 附件 : --> TestPrefab.zip 2020-06-11 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20200611
...ationAll Packages | All Classes | Index | Frames No Frames RenderableSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class RenderableSprite3DInheritanceRenderableSprite3D Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses Glitter, MeshSprite3D, Sh...
来源: laya_api 发布时间: 20170929
2.0中如何移动一组静态刚体? 我在一个sprite A下创建了一组静态刚体 如果A上没有刚体 移动A后子刚体不移动 但是子刚体的sprite跟着移动 子刚体发生碰撞后对应sprite回归原位 如果A上有刚体 移动A后子刚体不移动但是对应spri...
来源: Laya_社区 发布时间: 20190212
...同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么不显示...
来源: Laya_社区 发布时间: 20180418
...态修改子容器宽高并刷新显示! package { import laya.display.Sprite; import laya.events.Event; import laya.ui.Button; import laya.ui.Panel; import laya.utils.Browser; import laya.utils.Handler; public class LayaUISample { public function LayaUISample() { // 不支持WebGL时自动切换...
来源: Laya_社区 发布时间: 20170601
如何获取Sprite上用graphics.drawTexture绘制的texture? 如何获取Sprite上用graphics.drawTexture绘制的texture? 如定义为faceImage的Sprite,我用faceImage.graphics.drawTexture绘制图片哦,也有正常显示了,但我通过faceImage.texture却是null。我需要拷贝该...
来源: Laya_社区 发布时间: 20170816