大约有 30 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0030 秒)
...: 确认是我在创建Laya.Ray的时候使用了new Laya.Ray(Laya.Vector3.ZERO, Laya.Vector3.ZERO)这么愚蠢的做法导致的 老是忘了js没有值类型一说. 2019-03-19 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 SNAKE 相...
来源: Laya_社区 发布时间: 20190319
...AM_SRC_ALPHA BLENDPARAM_SRC_ALPHA_SATURATE BLENDPARAM_SRC_COLOR BLENDPARAM_ZERO BLEND_DISABLE BLEND_ENABLE_ALL BLEND_ENABLE_SEPERATE CULL_BACK CULL_FRONT CULL_NONE DEPTHTEST_ALWAYS DEPTHTEST_EQUAL DEPTHTEST_GEQUAL DEPTHTEST_GREATER DEPTHTEST_LEQUAL DEPTHTEST_LESS DEPTHTEST_NEVER DEPTHTEST_NOTEQUAL D...
来源: Laya3.0_api 发布时间: 20231102
...活检测不到; camera: Laya.Camera; ray = new Laya.Ray(Laya.Vector3._ZERO, Laya.Vector3._ZERO) hitInfo:Laya.HitResult=new Laya.HitResult() physics:Laya.PhysicsSimulation; onAwake():void{ this.camera = this.owner.getChildByName("Main Camera") as Laya.Camera; let scene: Laya.Scene3D = this.owner.s...
来源: Laya_社区 发布时间: 20190621
...public RoleMove(dir:Laya.Vector3) { let norDir:Laya.Vector3 = Laya.Vector3.ZERO; Laya.Vector3.normalize(dir,norDir); console.log(norDir); //this.sprite.transform.translate(norDir,false); // let position = Laya.Vector3.ZERO; // Laya.Vector3.add(this.sprite.transform.position,norDir,position) // this....
来源: Laya_社区 发布时间: 20191026
...or3 的疑问 如下:2.1.0的Vector3 /**@private */ public static const _ZERO:Vector3 =/*[STATIC SAFE]*/ new Vector3(0.0, 0.0, 0.0); /**@private */ public static const _ONE:Vector3 =/*[STATIC SAFE]*/ new Vector3(1.0, 1.0, 1.0); /**@private */ public static const _NegativeUnitX:Vector3 =/*[STATIC S...
来源: Laya_社区 发布时间: 20190706
...e Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity normalize setForward s...
来源: Laya3.0_api 发布时间: 20231115
...plements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity ...
来源: Laya3.0_api 发布时间: 20231102
...cene."; rigidBody.clearForces(); var nativeZero=Rigidbody3D._nativeVector3Zero; rigidBody.setInterpolationAngularVelocity(nativeZero); rigidBody.setLinearVelocity(nativeZero); rigidBody.setInterpolationAngularVelocity(na...
来源: Laya_社区 发布时间: 20190614
...容相关的链接 提交 4 个回复 Faith_mkx 赞同来自: Laya.Vector3.ZERO 居然各分量不等于0? transform.position 给它赋值过后,居然会被自动修改到初始值(加载进来时的位置)。 谁能给个靠谱答案,别给什么重置装IDE,重装系统的回复...
来源: Laya_社区 发布时间: 20171109
... _start(state:Laya.RenderState):void{ this.ray = new Laya.Ray(Laya.Vector3.ZERO,Laya.Vector3.ZERO); this.phasorSprite3D = new Laya.PhasorSpriter3D(); Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDown); } private onMouseDown():void{ this.camera.viewportPointToRay(new Laya.Vector2(Laya.Mouse...
来源: Laya_社区 发布时间: 20181020