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

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

1. 使用IDE构建工程(TypeScript-LayaNative原生服务-LayaNative工具使用) [ 100%]

...index.js。 在测试的时候,为了方便,通常是使用的本地URL地址在浏览器中测试,当打成Android App的时候,必须有一个真正的webserver的地址, 例如:   *局域网地址:* ``` http://10.10.20.19:8888/index.js ```   *实际地址:* ``` http://native...

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

2. 物理射线检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 98%]

...属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`...

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

3. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 98%]

...属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`...

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

4. 物理射线检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 98%]

...属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`,`...

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

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

...出的颜色和强度。如图9,更详细的可以查看原demo:([demo地址]())。 ```typescript var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.al...

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

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

...出的颜色和强度。如图9,更详细的可以查看原demo:([demo地址]())。 ```typescript var material = new Laya.BlinnPhongMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/texture/earth.png", Laya.Handler.create(this, function(texture) { //设置材质纹理 material.al...

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

7. BlinnPhong材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 95%]

...出的颜色和强度。如图9,更详细的可以查看原demo:([demo地址]())。 ```typescript var material:BlinnPhongMaterial = new BlinnPhongMaterial(); //漫反射贴图 Texture2D.load("res/threeDimen/texture/earth.png", Handler.create(this, function(texture:Texture2D):void { //设置材...

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

8. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 90%]

...并解码显示出来。loadImage这个方法中的参数不仅仅有接收地址的url还接收base64和svg的格式。编译运行上面的代码我们看到下图中的效果。 ![2](img/2.png) 总结:上面的代码给我们很好的启示,在项目中我们的特殊艺术字可以用这种...

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

9. 可视遮罩层Layer(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 90%]

...; }); ``` 添加后的效果(图2): ![](img/2.gif)(图2) 本次示例地址([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=CameraLayer));

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

10. 角色碰撞器(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 89%]

...png)(图2) 还有更多角色碰撞器的使用方式可以从API查看([地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使...

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