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

大约有 311 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)

211. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 52%]

...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...

来源: Laya3.0_文档 发布时间: 20251010

212. 关于自定义组件使用方式 [ 52%]

...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使...

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

213. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 51%]

...(!this.cubeP){             this.cubeP = this.scene.addChild(new Laya.Sprite3D());             this.cube = this.cubeP.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1)));             let rigidbody = this.cube.addComponent(Laya.Rigidbody3D);             rigid...

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

214. 基础文本 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Text }) txt: Laya.Text; constructor() { super(); } onAwake(): void { this.txt.text = "第{n=1}页"; //显示文本的初始化内容 } onStart(): void { let page: number = 1; Laya.timer.frameL...

来源: Laya3.0_文档 发布时间: 20251010

215. 3D中摄像机绕物体旋转该如何实现? [ 50%]

...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...

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

216. 多摄像机窗口的使用(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 50%]

...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp){ //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图6...

来源: Laya2.0_文档 发布时间: 20210715

217. 多摄像机窗口的使用(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 50%]

...tionLight = scene.addChild(new Laya.DirectionLight()); //加载模型 Laya.Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(null, function(sp) { //将模型加到场景上 var layaMonkey = scene.addChild(sp); })) ``` 编译运行上述代码,运行效果如图...

来源: Laya2.0_文档 发布时间: 20210715

218. 关于使用Idea以及Linux下使用AS语言开发的一点经验 [ 49%]

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

219. ToolTip鼠标悬停的使用 [ 49%]

...是否处于按下状态”? TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node...

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

220. 使用方向键 控制精灵在格子中移动 [ 49%]

...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf...

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