大约有 651 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0056 秒)
Laya_社区(364) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(15) laya_api(5) Laya2.0_api(4)
...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
...下的坐标系统 _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
...组建实例。 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
...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
...osition; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshRenderer.material = this.billinMaterial; ``` 然后就可以看到效果了,如图4所示: (图4) ### ...
来源: Laya2.0_文档 发布时间: 20210715
...ransform.position; //将创建的球平移 sphere2.transform.translate(new Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 sphere2.meshRenderer.material = billinMaterial; ``` 然后就可以看到效果了,如图4所示: (图4) ### 2. 修改...
来源: Laya2.0_文档 发布时间: 20210715
...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
...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
...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
...tHitInfo,5)); //更新角色位置 this.owner.transform.translate(new Laya.Vector3(speedX,0,speedZ),false); //播放行走动画 2018-01-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 qian 赞同来自: 你...
来源: Laya_社区 发布时间: 20180118