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

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

461. 使用HttpRequest向外部链接请求ip所在省份时,遇到 No 'Access-Control-Allow-Origin' header错误 [ 50%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf字体? 编译调试启动chrome出现错...

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

462. 关于使用matterjs物理引擎鼠标问题 [ 50%]

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

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

463. 3d项目-unity添加物理组件 layanative2 打包android平台 报错 btCollisionObject undefined [ 50%]

...sion/libs/laya.d3.js:37260:30) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto._addComponentInstance (http://stand.alone.version/lib ... 3660:8) 10-15 16:43:46.702: I/LayaBox(3503): at MeshSprite3D.__proto.addComponent (http://stand.alone.version/lib ... 3731:8) 10-15 16:43:46.702: I/La...

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

464. 关于射线碰撞的问题,对于射线的罗辑方式不太了解,懂得进来帮忙看一下!~~~~~~~~~~ [ 50%]

...rayCast(ray2, rayCastHit2, 300);                 if(rayCastHit2.sprite3D)    {        //这里取碰撞点的y值给角色重新赋值        var currPosition:Vector3 = new Vector3(_position.x, rayCastHit2.position.y, _position.z);        roleModel.transform.position = currP...

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

465. 分享:Graphics下cmds命令流的使用! [ 50%]

...A页面派发 B页面侦听) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 分享:适配LayaAir版本的PureMVC框架 LayaAirIDE下如何使用mask? 分享:打地鼠 AS、JS、TS版本 Demo! 微信小游戏:HTMLDivE...

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

466. 升级到3.0-beta6无法选择资源了 [ 49%]

... export class NewScript extends Laya.Script {     //declare owner : Laya.Sprite3D;      @property(String)     public text: string = "";      @property(Laya.Image)     public image: Laya.Image = null;      constructor() {         super();     } } 附件 : --> 2023-04-12 添加评...

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

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

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

468. 微信小游戏 · LayaAir3.3 · 引擎文档 · LAYABOX [ 49%]

...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...

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

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

...以查看官方示例([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

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