大约有 353 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(87) laya_api(85) Laya3.0_api(84) Laya2.0_api(71) Laya2.0_文档(19) Laya3.0_文档(6) Laya_示例(1)
...c] ConchVector4 UnitZ : ConchVector4[static] ConchVector4 w : Number 获取W轴坐标。 ConchVector4 x : Number 获取X轴坐标。 ConchVector4 y : Number 获取Y轴坐标。 ConchVector4 z : Number 获取Z轴坐标。 ConchVector4 ZERO : ConchVector4[static] 零向量,禁止...
来源: Laya2.0_api 发布时间: 20190513
...Forward(forward: Vector3): void Defined in laya/d3/core/Transform3D.ts:695 获取向前方向。 Parameters forward: Vector3 前方向。 Returns void getFrontFaceValue getFrontFaceValue(): number Defined in laya/d3/core/Transform3D.ts:108 Returns number getRight getRight(right: Vector3): void Defin...
来源: Laya3.0_api 发布时间: 20231115
...置的大小 new_texture = ls.Texture.create(new_texture, 0, 0) 重新获取纹理然后将textureHost设置为new_texture sprite.shaderValue.textureHost = new_texture 其他的参照shader原文档 2.要修改shader里面的值 class ShaderValue extends Laya.Value2D {class ShaderValue extends La...
来源: Laya_社区 发布时间: 20180531
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210714
...复被折叠 要回复问题请先登录 发起人 Sy 相关问题 怎样获取浏览器地址传过来的GET参数 2.0 drawTexture color参数无效 Graphic.drawTextures,第二个参数 pos:Array — 绘制次数和坐标,怎么写啊, as3中如何定义html中的id参数 子节点的 getChildI...
来源: Laya_社区 发布时间: 20180720
...应用——寻路导航中,有一段关于导航的代码,如下: //获取可行走区域模型 var meshSprite3D: Laya.MeshSprite3D = this.scene.getChildByName('Scenes').getChildByName('HeightMap') as Laya.MeshSprite3D; //使可行走区域模型隐藏 meshSprite3D.active = false; var heightM...
来源: Laya_社区 发布时间: 20180309
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210715
...抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,path[nextPathIndex++ % pointCount].z, endPoint); //开...
来源: Laya2.0_文档 发布时间: 20210714
骨骼动画是否可以获取骨骼的相对坐标和角度 RT,比如说我想实时获取某根指定骨骼的转动角度,不知道有没有API。 白鹭的龙骨是可以的,所以原始应该是可以的,不过不知道layabox有没有为了性能封装掉这个特性,因为教程比...
来源: Laya_社区 发布时间: 20161204
...倾斜,在物理上其位置发生了改变,而实际通过属性x, y 获取的属性值(位置)并没有发生改变,那么该如何计算实际位置与获取的位置之间的偏差呢 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...
来源: Laya_社区 发布时间: 20170307