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

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

511. LayaAir中怎么使用node.js 的 socket.io [ 49%]

...r IDE的帧属性面板不见了 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'No...

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

512. 动画节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...lass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次...

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

513. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...

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

514. 微信小游戏:HTMLDivElement的使用 [ 49%]

...更新-问题解答(最新版本:1.7.16) 微信小游戏如何竖屏 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 LayaAirIDE下如何使用mask? 使...

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

515. LayaAir IDE 语言包的使用? [ 49%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComp...

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

516. BlinnPhong材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 48%]

...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ![](img/5.png)(图5) ##### 高...

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

517. BlinnPhong材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 48%]

...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material as Laya.BlinnPhongMaterial; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ![](i...

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

518. LayaDictionary的使用问题 [ 48%]

...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComp...

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

519. 播放动画(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 48%]

...动播放。我们要怎么控制动画的播放呢? LayaAir 3D引擎的Sprite3D类提供了 `getComponent()` 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator动画组件,因此我们可以获取它,参考以下代码。 ```typescript //获...

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

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

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