大约有 615 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
...](img/2.gif)(图2) 本次示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=CameraLayer));
来源: Laya2.0_文档 发布时间: 20210715
...](img/2.gif)(图2) 本次示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=CameraLayer));
来源: Laya2.0_文档 发布时间: 20210715
...于官方多Pass描边示例([demo示例](http://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Shader&name=Shader_MultiplePassOutline))。 ##### 第一个Pass使用的着色器: 顶点着色器 `outline.vs` 代码如下: ```c++ attribute vec4 a_Position; attribute vec3 a_Nor...
来源: Laya2.0_文档 发布时间: 20210715
...的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Kinematic)): ```typescript ..... //创建刚体碰撞器 var rigidBody = sphere.addComponent(Laya.Rigidbody3D); //设置刚体为Kinematic,仅可通过...
来源: Laya2.0_文档 发布时间: 20210715
...意2D适配模式的影响。([demo地址](https://layaair2.ldc2.layabox.com/demo2/?language=ch&category=3d&group=Advance&name=Secne3DPlayer2D)) ```typescript //变换位置 this._position.x = Math.sin(this.scaleDelta += 0.01) * 2; this._position.z = Math.cos(this.scaleDelta += 0.01) * 2; //修...
来源: Laya2.0_文档 发布时间: 20210715
... 2 个回复 qian 赞同来自: 看看是不是跨域https://ask.layabox.com/question/2270 2018-01-25 0 0 分享 微博 QZONE 微信 wwyybb1 赞同来自: 解决方法:最好还是用自己的服务器中转。写个php就可以了。 <?php header('content-type: image/png'); //如果...
来源: Laya_社区 发布时间: 20180125
...; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发器,取消物理反馈 staticCollider.isTrigger = true; /* ……省略若干代码 */ ``` #### 2.2 理解各种碰撞器 ##### 2.2.1 静态碰撞器 `PhysicsCollider` LayaAir...
来源: Laya2.0_文档 发布时间: 20210715
...的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_Kinematic)): ```typescript ..... //创建刚体碰撞器 var rigidBody:Laya.Rigidbody3D = sphere.addComponent(Laya.Rigidbody3D); //设置刚体为Kinemat...
来源: Laya2.0_文档 发布时间: 20210714
...TempletBinary(); this.templet.loadAni(this.aniPath); this.templet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private function parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton....
来源: Laya2.0_文档 发布时间: 20210715
...——— 论坛上传太慢补个度盘 度盘链接: https://pan.baidu.com/s/13n7hOZif62eaRb5DoCWzgQ 密码: s24b 用得着的,高抬贵手,您老给多点个赞,哈哈 附件 : --> 2018-05-05 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20180505