大约有 623 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0078 秒)
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体...
来源: Laya_社区 发布时间: 20190317
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material as Laya.BlinnPhongMaterial; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ; //载入并显示3D建筑 var map = Laya.Sprite3D.load("LayaScene_test/test.lh"); scene.addChild(map); //map.transform.localPosition = new Laya.Vector3(0,-4,-10); //控制摄像机 camera.addComponent(CameraMoveScript); 2017-05-24 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20170524
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let video = new Laya.VideoNode; //添加到舞台 Laya.stage....
来源: Laya3.0_文档 发布时间: 20251010
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale layabox真的只能做棋牌吗?和flash比谁更强?本视频给你答疑解惑! 编译调试启动chrome出现错误: Error processing launc...
来源: Laya_社区 发布时间: 20230213
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的...
来源: Laya_社区 发布时间: 20200727
... 在unity场景中有粒子特效和摄像机。导出lh后在laya中使用Sprite3D加载,怎么样才能去修改Unity中摄像机物体的坐标,或者粒子特效根节点的坐标 ?我现在场景里面的根节点不是摄像机也不是物体坐标 yaorao • 2018-03-27 17:45 @yaorao:我...
来源: Laya_社区 发布时间: 20180327
...eShadow = true; sphere.meshRender.castShadow = true; box 和 sphere 都是 Sprite3D 的,贴了2D贴图,为啥出不来阴影 2017-08-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 a43345 赞同来自: 可...
来源: Laya_社区 发布时间: 20170809
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 使用3D时候,Property 'getComp...
来源: Laya_社区 发布时间: 20200810
...例([demo地址]())。 ```typescript var material:BlinnPhongMaterial = meshSprite3D.meshRenderer.material as BlinnPhongMaterial; //法线贴图 Texture2D.load(normalMapUrl[i], Handler.create(this, function(texture:Texture2D):void { //设置发现贴图 material.normalTexture = texture; })); ``` ![](...
来源: Laya2.0_文档 发布时间: 20210714