• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 68 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0034 秒)

21. 动画混合问题,Avatar动画混合报错. [ 69%]

...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

22. 关于2.1.0代码设计的疑问 [ 69%]

...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

23. 射线检测报错,outHitInfo.sprite3D=null; [ 67%]

... _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

24. laya.d3.math.native.ConchVector3_API3.0 [ 65%]

...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

25. laya.maths.Vector3_API3.0 [ 63%]

...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

26. laya.maths.Matrix4x4_API3.0 [ 63%]

...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

27. Laya.Vector3.lerp的问题 [ 63%]

...请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: Zero是静态变量     1.静态变量是禁止修改的    2.Vector3是引用类型 修改了两次同一个引用,会把之前的结果覆盖掉 2016-11-14 0 0 分享 微博 QZONE 微信 cike007 赞同来自: ok 明白...

来源: Laya_社区 发布时间: 20161114

28. laya.d3.math.Vector3_API3.0 [ 63%]

...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

29. 3d库问题 [ 62%]

...umber; if (!intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3.ZERO; return false; } distance 赋值是在intersectsRayAndPlaneRD方法里复制的,这是传递参数赋值,没有问题奥! 2017-02-26 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

来源: Laya_社区 发布时间: 20170226

30. laya.d3.math.Matrix4x4_API3.0 [ 62%]

...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