大约有 975 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya_社区(488) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(26)
...,有偏移,目前无奈只能回退到2.8.0版本 let touchPoint:Laya.Vector3 = new Laya.Vector3(); let screenPoint:Laya.Vector2 = new Laya.Vector2(); screenPoint.x = Laya.MouseManager.instance.mouseX; screenPoint.y = Laya.MouseManage...
来源: Laya_社区 发布时间: 20220117
...WebXR Manager Returns WebXRInputManager Properties Static tempVec tempVec: Vector3 = new Vector3() Defined in laya/d3/WebXR/core/WebXRInputManager.ts:17 Static tempVec1 tempVec1: Vector3 = new Vector3() Defined in laya/d3/WebXR/core/WebXRInputManager.ts:18 Methods bindMeshNode bindMeshNode(meshSprit...
来源: Laya3.0_api 发布时间: 20231115
...s void generatePositionAndDirection generatePositionAndDirection(position: Vector3, direction: Vector3, rand?: Rand, randomSeeds?: Uint32Array): void Defined in laya/d3/core/particleShuriKen/module/shape/BaseShape.ts:54 用于生成粒子初始位置和方向。 Parameters position: Vector3 粒子...
来源: Laya3.0_api 发布时间: 20231115
...ZONE 微信 NilZ 赞同来自: //求AC AB的叉积 Vector3.cross(AC, AB, out); //单位化一下 Vector3.normalize(out, out); //得到旋转轴 Vector3.add(A, out); //得到旋转矩阵 Matrix4x4.createRo...
来源: Laya_社区 发布时间: 20191224
...ns number 包涵:1,相交:2,不相交:0 containsPoint containsPoint(point: Vector3): number Defined in laya/d3/math/BoundFrustum.ts:314 与点的关系。 Parameters point: Vector3 点。 Returns number 包涵:1,相交:2,不相交:0 equalsBoundFrustum equalsBoundFrustum(other: BoundFrustum): boolean...
来源: Laya3.0_api 发布时间: 20231115
...没有四元数右乘三维向量的算法? 类似unity里面Quaternion*Vector3可以得到一个向量转换后的向量。 2018-09-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 赞同来自: 百神 了...
来源: Laya_社区 发布时间: 20180925
...ddChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); camera.clearColor = null; //方向光 var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vecto...
来源: Laya_社区 发布时间: 20180104
...d(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(new Laya.Vector3(0, 0.7, 5)); this.camera.transform.rotate(new Laya.Vector3( -15, 0, 0), true, false); } onEnable() { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this._onStageDown); } _onStageDown() { //创建一个点 var point = new La...
来源: Laya_社区 发布时间: 20200801
...ORMBUFFER Methods clear getPropertyArray setNumberArray setVector2Array setVector3Array setVectorArray Constructors constructor new MaterialInstancePropertyBlock(): MaterialInstancePropertyBlock Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:33 Returns MaterialInstanceProper...
来源: Laya3.0_api 发布时间: 20231115
...x4 getNumber getQuaternion getTexture getValueData getVector getVector2 getVector3 hasDefine needRenewArrayBufferForNative removeDefine setAttribute setBool setBuffer setInt setLength setMatrix4x4 setNumber setQuaternion setReferenceForNative setTexture setValueData setVector setVector2 setVector3 s...
来源: Laya3.0_api 发布时间: 20231102