大约有 68 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0034 秒)
...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
... _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
...es elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Accessors x y z Methods clone cloneTo fromArray setValue toDefault Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract trans...
来源: Laya3.0_api 发布时间: 20231102
...roperties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cross dot equal fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multi...
来源: Laya3.0_api 发布时间: 20231115
...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
...请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: Zero是静态变量 1.静态变量是禁止修改的 2.Vector3是引用类型 修改了两次同一个引用,会把之前的结果覆盖掉 2016-11-14 0 0 分享 微博 QZONE 微信 cike007 赞同来自: ok 明白...
来源: Laya_社区 发布时间: 20161114
...roperties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cross dot fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply no...
来源: Laya3.0_api 发布时间: 20231102
...umber; if (!intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3.ZERO; return false; } distance 赋值是在intersectsRayAndPlaneRD方法里复制的,这是传递参数赋值,没有问题奥! 2017-02-26 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...
来源: Laya_社区 发布时间: 20170226
...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