大约有 1,744 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0143 秒)
Laya_社区(1319) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(33) Laya_示例(24) Laya2.0_示例(3)
...ed By localMatrix : Matrix4x4 获取局部矩阵。 Transform3D localPosition : Vector3 获取局部位置。 Transform3D localPositionX : Number 获取局部位置X轴分量。 Transform3D localPositionY : Number 获取局部位置Y轴分量。 Transform3D localPositionZ : Number 获...
来源: Laya2.0_api 发布时间: 20190513
...w Laya.CompoundColliderShape(); this.cube.transform.localPosition = new Laya.Vector3(); } let pos = this.cubeP.transform.position; pos.z += dis; this.cubeP.transform.position = pos; if(this.cube.transform.localPosition.z !...
来源: Laya_社区 发布时间: 20200223
...el; initPixelParams(pixel, vertex); v_wPos = pixel.positionWS; gl_Position = getPositionCS(pixel.positionWS); gl_Position = remapPositionZ(gl_Position); #ifdef FOG FogHandle(gl_Position.z); #endif // FOG } #endGLSL ...
来源: Laya_社区 发布时间: 20250428
...率调高后 每帧发射多个粒子, 但一帧内发射的多个粒子 position 只能取到当前帧的值, 因此这些粒子的position 相同导致断开, unity 不会断开可能是因为帧率高, 更新频率更高, 可以在unity 中开下vsync观察下效果 2025-03-05 0 1 分...
来源: Laya_社区 发布时间: 20250305
...没有加上世界坐标变换,要乘上mmat 如下 vec4 pos =mmat*vec4(position.x,position.y,0,1); 2017-09-04 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 jxfcwys 相关问题 liblayaair.so 总是崩溃,有没有官方人员帮...
来源: Laya_社区 发布时间: 20170904
...Engine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath)” 附件是资源(第一次上传的资源缺shader,已换成默认的。又上传了一次,把无效脚本去掉了) 补充: Unity 5.5...
来源: Laya_社区 发布时间: 20171129
...p,scene) as Laya.MeshSprite3D; if(index == 0) { this.model.transform.position = new Laya.Vector3(0.8,0,0); } }); //===================报错====================== let temp:Laya.MeshSprite3D = Laya.MeshSprite3D.load("res/Coin/layaScene.lh") as Laya.MeshSprite3D; scene.addChild(temp); t...
来源: Laya_社区 发布时间: 20180827
...n格式问题 WAGame.js:3 gameThirdScriptError Unexpected token in JSON at position 27;at api readFile success callback function SyntaxError: Unexpected token in JSON at position 27 at JSON.parse (<anonymous>) at Function.MiniAdpter.getJson (http://127.0.0.1:9973/game/code.js:20980...
来源: Laya_社区 发布时间: 20180205
...nt(type:*):Component3D 添加指定类型组件。 Sprite3D addParticle(position:Vector3, velocity:Vector3):void 添加粒子。 Particle3D clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():* 克隆。 Sprite3D cloneTo(destObject:*)...
来源: laya_api 发布时间: 20170603
...s randomDirection shapeType Accessors arcDEG Methods clone cloneTo generatePositionAndDirection Constructors constructor new CircleShape(): CircleShape Overrides BaseShape.constructor Defined in laya/d3/core/particleShuriKen/module/shape/CircleShape.ts:20 创建一个 CircleShape 实例。 Returns C...
来源: Laya3.0_api 发布时间: 20231115