大约有 612 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0049 秒)
...era.clearColor = null; camera.addComponent(CameraMoveScript); var map=Laya.Sprite3D.load("H5/Main.lh"); scene.addChild(map); 2017-05-15 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 厉害,好的,有问题及时沟通! 2017-05-15 0 0 分享 微博 QZONE 微信 为什么被折叠? ...
来源: Laya_社区 发布时间: 20170515
...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'No...
来源: Laya_社区 发布时间: 20161017
...新的插件和unity5.5版本,可以导出成功了; 但是用 Laya.Sprite3D.load 加载 lh 文件,没有加载任何3D模型。 我看了一下 lh 文件,MeshSprite3D 对象在子节点的子节点中,根节点是 Sprite3D 对象;因为unity 中对象有一定的层级关系。 附件...
来源: Laya_社区 发布时间: 20170110
...我们可以通过它们来获取模型上的材质。 **Tips**:MeshSprite3D模型中为meshRenderer,SkinnedMeshSprite3D模型中为skinnedMeshRenderer。 ###### 这两个类多是一些继承自'父类'的共有的接口,可以查看'父类' **BaseRenderer** 的API([API地址](https://l...
来源: Laya2.0_文档 发布时间: 20210715
...:Assets.zip 导出资源:LayaScene_Model_1001.zip 加载代码 Laya.Sprite3D.load("res/LayaScene_Model_1001/Conventional/Model_1001.lh", Laya.Handler.create(null, (sprite:Laya.Sprite3D) => { this.mScene.addChild(sprite); sprite.transform.translate(new Laya.Vector3(-0.3, 0, 0)); })); 报...
来源: Laya_社区 发布时间: 20200107
...ya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.utils.St...
来源: Laya_示例 发布时间: 20250219
...性bug 部分机型load场景不显示 希望加入视频实时渲染到 sprite3d 材质上 Laya Skeleton渲染时,如果中间的slot的附件使用了网格,批渲染会被打断,希望官方能优化一下 设置sortingFudge没有效果,如何更改渲染层级? 问题状态 最新活...
来源: Laya_社区 发布时间: 20180910
...ic title: string; constructor(){ super(); } public _initialize(owner: Laya.Sprite3D): void { super._initialize(owner); var sprite3D = this.owner as Laya.MeshSprite3D; var sprite3DMat = new Laya.StandardMaterial(); sprite3DMat.cull = Laya.BaseMaterial.CULL_NONE; var imageData = this.canvasWrapText({c...
来源: Laya_社区 发布时间: 20180814
...1所示。 ```typescript //平面 var plane = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createPlane(10, 10, 10, 10))); //新建材质 var planeMat = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/threeDimen/Physics/grass.png", Laya.Handler.create(this, function(tex) { planeMat...
来源: Laya2.0_文档 发布时间: 20210714
...:let colliderItem = this._rootNode.getChildByName("XCD_zhazhiji") as Laya.Sprite3D; console.log(colliderItem.transform.localRotationEuler);得出结果: 附上导出以后ls源文件截图: 另外这个模型有点特殊,这个节点(XCD_zhazhiji)的旋转是不影响模型本身旋转的,它的...
来源: Laya_社区 发布时间: 20190320