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

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

491. iphoneX环境下新手引导的抠图透明区域为黑色,其它机型都是正常的。 [ 83%]

...区域为黑色,其它机型都是正常的。 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

492. laya.d3.core.Sprite3D [ 83%]

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

493. 创建模型以后,调用destroy,以前clone的对象也消失了 [ 83%]

...象也消失了 是我的方法使用对吗? 创建模型 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

494. 2.0中如何移动一组静态刚体? [ 83%]

2.0中如何移动一组静态刚体? 我在一个sprite A下创建了一组静态刚体   如果A上没有刚体 移动A后子刚体移动 但是子刚体的sprite跟着移动 子刚体发生碰撞后对应sprite回归原位   如果A上有刚体 移动A后子刚体移动但是对应spri...

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

495. laya.d3.core.RenderableSprite3D [ 83%]

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

496. 使用四元数旋转模型的方法,有没有例子可以参考? [ 83%]

...同的对象,调用第一个的一个方法,走进了第二方法里 sprite旋转以后,但是原来碰撞检测rect没有旋转 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) 安装layaAirIDE2 ,跟着官网敲hello world 例子,为什么显示...

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

497. 分享:Panel下动态修改子容器宽高并刷新显示[ 83%]

...态修改子容器宽高并刷新显示! 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

498. 如何获取Sprite上用graphics.drawTexture绘制的texture? [ 83%]

如何获取Sprite上用graphics.drawTexture绘制的texture? 如何获取Sprite上用graphics.drawTexture绘制的texture? 如定义为faceImage的Sprite,我用faceImage.graphics.drawTexture绘制图片哦,也有正常显示了,但我通过faceImage.texture却是null。我需要拷贝该...

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

499. layaAir2.3克隆以及获取节点重大bug!!! [ 83%]

....Loader.getRes("res/my_res/guns_test.lh");          let a :Laya.Sprite3D = new Laya.Sprite3D();         a.addChild(guns_test.getChildAt(0).clone());         a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2;         a.transform.sc...

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

500. 3d模型预加载后二次调用报错 [ 83%]

...二次调用报错 使用Laya.loader.create 预加载,第一次用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 可以创建,第二次再调用Laya.Sprite3D.load("xxx.lh").getChildAt(0) 创建就返回undefined了,help~ 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...

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