大约有 1,726 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1439) Laya3.0_api(93) Laya2.0_文档(63) Laya3.0_文档(43) Laya_示例(36) laya_api(32) Laya2.0_api(19) Laya2.0_示例(1)
...extureCube; camera.sky = skyBox; var teapot1 = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/staticModel/teapot/teapot-Teapot001.lm"))); teapot1.transform.position = new Laya.Vector3(-0.8, 0, 0); teapot1.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067...
来源: Laya_示例 发布时间: 20260303
...,我单独改名加载不同的.lh就没问题。 我的问题:用了Sprite3D.instantiate方法,在iPhone6上性能降低了8... 2019-10-04 0 1 分享 微博 QZONE 微信 潘智峰 赞同来自: 我也遇到了这个问题。 2019-10-07 0 0 分享 微博 QZONE 微信 btiger 赞同来自: 把...
来源: Laya_社区 发布时间: 20190921
...的距离进行旋转 (this.owner as Laya.Sprite3D).transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "...
来源: Laya_社区 发布时间: 20190605
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Prefab }) private loadingScenePrefab: Laya.Prefab; private loadingScene: Laya.Node; constructor() { super(); } /** * 第一次执行update之前执行,只会执行一次 */ onStart(): void {...
来源: Laya3.0_文档 发布时间: 20251010
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 游戏运行在chrome里面 听不见声音 编译调试启动chrome出现错误: Error processing launch: Error Coul...
来源: Laya_社区 发布时间: 20151218
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 文本如何自动换行 微信小游戏如何使用ttf字体? LayaAi...
来源: Laya_社区 发布时间: 20161027
...同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中...
来源: Laya3.0_api 发布时间: 20231115
... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...
来源: Laya_示例 发布时间: 20260303
...e3D)导出的时候被转换导出了。这种纹理需要采用预设(Sprite3D)分别导出,单独加载使用。 #### 2.2.2 LayaAirIDE纹理压缩功能 LayaAirIDE中依次点击 菜单 ->> 工具 ->> 纹理图片转换,可以打开图3所示界面。  (图3) 由于...
来源: Laya2.0_文档 发布时间: 20210714
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. LayaAirIDE下如何使用mas...
来源: Laya_社区 发布时间: 20170418