大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0031 秒)
...index.js。 在测试的时候,为了方便,通常是使用的本地URL地址在浏览器中测试,当打成Android App的时候,必须有一个真正的webserver的地址, 例如: *局域网地址:* ``` http://10.10.20.19:8888/index.js ``` *实际地址:* ``` http://native...
来源: Laya2.0_文档 发布时间: 20210715
...属性中的**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
...属性中的**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
...属性中的**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
...出的颜色和强度。如图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
...出的颜色和强度。如图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
...出的颜色和强度。如图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
...并解码显示出来。loadImage这个方法中的参数不仅仅有接收地址的url还接收base64和svg的格式。编译运行上面的代码我们看到下图中的效果。  总结:上面的代码给我们很好的启示,在项目中我们的特殊艺术字可以用这种...
来源: Laya2.0_文档 发布时间: 20210714
...; }); ``` 添加后的效果(图2): (图2) 本次示例地址([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=CameraLayer));
来源: Laya2.0_文档 发布时间: 20210715
...png)(图2) 还有更多角色碰撞器的使用方式可以从API查看([地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使...
来源: Laya2.0_文档 发布时间: 20210715