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

大约有 651 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0056 秒)

581. Mesh.load()加载的模型自动旋转了90°是什么原因? [ 51%]

...romMesh(terrain, 129, 129)); terrainSprite.transform.localScale = new Laya.Vector3(0.05, 0.05, 0.05); 附件 : --> mm_demo0531.rar 2017-05-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 183*****755 赞同来自...

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

582. 3d模型在相机纹理不能居中显示,人物锯齿严重 [ 51%]

...下的坐标系统 _camera.convertScreenCoordToOrthographicCoord(new Laya.Vector3(GameConfig.width, GameConfig.height, 0), this.orthographicPos); 这里应该传入2D的屏幕参数,demo没写注释,我开始以为传入是2D上的目标坐标 2022-05-09 0 0 分享 微博 QZONE 微信 Laya_Yan ...

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

583. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 51%]

...组建实例。 Returns Component 组件。 addLine addLine(startPosition: Vector3, endPosition: Vector3, startColor: Color, endColor: Color): void Defined in laya/d3/core/pixelLine/PixelLineSprite3D.ts:69 增加一条线。 Parameters startPosition: Vector3 初始点位置 endPosition: Vector3 结...

来源: Laya3.0_api 发布时间: 20231115

584. 自定义shader-shader预编译 [ 51%]

...light.DirectionLight; import laya.d3.core.scene.Scene; import laya.d3.math.Vector3; import laya.d3.resource.models.Mesh; import laya.d3.shader.ShaderCompile3D; import laya.display.Stage; import laya.utils.Stat; import laya.webgl.WebGL; public class ShaderPrecompile { public function ShaderPrecompile...

来源: Laya_示例 发布时间: 20250219

585. 材质的功能介绍(TypeScript-3D基础(TS)-LayaAir3D之Material材质) [ 51%]

...osition; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshRenderer.material = this.billinMaterial; ``` 然后就可以看到效果了,如图4所示: ![](img/4.png)(图4) ### ...

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

586. 材质的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之Material材质) [ 50%]

...ransform.position; //将创建的球平移 sphere2.transform.translate(new Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 sphere2.meshRenderer.material = billinMaterial; ``` 然后就可以看到效果了,如图4所示: ![](img/4.png)(图4) ### 2. 修改...

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

587. laya.d3.core.BaseCamera_API3.0 [ 50%]

...ted from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Defined in laya/d3/core/BaseCamera.ts:174 前向量 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _up _up: Vector3 = new Vector3() Defined in laya/d3/core/BaseCamer...

来源: Laya3.0_api 发布时间: 20231115

588. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 50%]

...0 获得渲染list Returns IBoundsCell[] getNearlist getNearlist(checkPos: Vector3): BVHSpatialBox<T> Inherited from BVHSpatialBox.getNearlist Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:363 获得最近的Content BVHBox Parameters checkPos: Vector3 Returns BVHSpatialBox<T> getchi...

来源: Laya3.0_api 发布时间: 20231115

589. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 50%]

...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...

来源: Laya3.0_api 发布时间: 20231115

590. 按照范例写的碰撞一直检测不到 this.outHitInfo.distance [ 50%]

...tHitInfo,5)); //更新角色位置 this.owner.transform.translate(new Laya.Vector3(speedX,0,speedZ),false); //播放行走动画   2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: 你...

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