大约有 27 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0031 秒)
...urns void decomposeTransRotMatScale decomposeTransRotMatScale(translation: Vector3, rotationMatrix: Matrix4x4, scale: Vector3): boolean Defined in laya/d3/math/Matrix4x4.ts:523 分解矩阵为平移向量、旋转矩阵、缩放向量。 Parameters translation: Vector3 平移向量。 rotationMatrix...
来源: Laya3.0_api 发布时间: 20231102
Laya.Vector3.lerp的问题 为啥第三个参数不一样 输出会一样呢? 附件 : --> 2016-11-14 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: Zero是静态变量 1.静...
来源: Laya_社区 发布时间: 20161114
...候是正常的,但是直接跑就有问题。 bing • 2017-06-13 17:17 Vector3.ZERO.cloneto(transform.position); 这种代码也移动不了。 需要用 transofrm.position = Vector3.ZERO; 才可以 183*****755 • 2017-06-14 23:06 楼上说的处理方法很正确,最终的计算结果需...
来源: Laya_社区 发布时间: 20170611
... public _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(Lay...
来源: Laya_社区 发布时间: 20181020
... out 相交点 */ static intersectsRayAndPlaneRP(ray:Ray, plane:Plane, out:Vector3):boolean { var distance:number; if (!CollisionUtils.intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3._ZERO; return false; } Vector3.scale(ray.direction, distance, CollisionUtils._tempV30); Vector3.add(ra...
来源: Laya_社区 发布时间: 20191012
...I DocumentationAll Packages | All Classes | Index | Frames No Frames Vector3Properties | Methods | Constants Packagelaya.d3.mathClasspublic class Vector3InheritanceVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties PropertyDefined By el...
来源: laya_api 发布时间: 20170929
...; // scene_360.addChild(camera); camera.transform.rotationEuler = new Laya.Vector3(-32, -75, 0); camera.transform.position = new Laya.Vector3(-8.2, 5.3, 2.2); var modelViewer = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node)...
来源: Laya_社区 发布时间: 20190813
...ll) 创建一个 Matrix4x4 实例。 Matrix4x4 billboard(objectPosition:Vector3, cameraPosition:Vector3, cameraRight:Vector3, cameraUp:Vector3, cameraForward:Vector3, mat:Matrix4x4):void[static] 计算BlillBoard矩阵 Matrix4x4 clone():* 克隆。 Matrix4x4 cloneTo(destObject:*):void 克隆...
来源: Laya2.0_api 发布时间: 20190513
...参数,在blend为BLEND_ENABLE_SEPERATE时生效。 stencilOp stencilOp: Vector3 Defined in laya/d3/core/material/RenderState.ts:156 模板设置值 stencilRef stencilRef: number Defined in laya/d3/core/material/RenderState.ts:154 模板值 一般会在0-255 stencilTest stencilTest: number Defined i...
来源: Laya3.0_api 发布时间: 20231102
...stance:Number; if (!intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3.ZERO; return false; } distance 赋值是在intersectsRayAndPlaneRD方法里复制的,这是传递参数赋值,没有问题奥! 2017-02-26 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20170226