大约有 651 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0057 秒)
Laya_社区(364) Laya3.0_api(124) Laya2.0_文档(97) Laya_示例(42) Laya3.0_文档(15) laya_api(5) Laya2.0_api(4)
...0 获得渲染list Returns IBoundsCell[] getNearlist getNearlist(checkPos: Vector3): BVHSpatialBox<T> Defined in laya/d3/core/scene/bvh/BVHSpatialBox.ts:363 获得最近的Content BVHBox Parameters checkPos: Vector3 Returns BVHSpatialBox<T> getchild0 getchild0(): BVHSpatialBox<T> D...
来源: Laya3.0_api 发布时间: 20231115
...ts:36 Parameters value: number Returns void stencilOp set stencilOp(value: Vector3): void Defined in laya/d3/RenderObjs/NativeOBJ/NativeRenderState.ts:120 Parameters value: Vector3 Returns void stencilRef get stencilRef(): number set stencilRef(value: number): void Defined in laya/d3/RenderObjs/Nati...
来源: Laya3.0_api 发布时间: 20231115
...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...
来源: Laya3.0_api 发布时间: 20231102
...astMouseY = NaN; this.yawPitchRoll = new Laya.Vector3(); // //实例化一个四元素 this.tempRotationZ = new Laya.Quaternion(); //鼠标是否按下默认为没有按下 this.isMouseDown = false; //旋转速度 ...
来源: Laya_社区 发布时间: 20170810
...,那个list中的数据也存在,但没渲染出。 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 官方"3D角色脚本控制与碰撞检测"这个方法是不是不适用于高低起伏的地面? 引...
来源: Laya_社区 发布时间: 20170217
...osition; //将创建的球平移 this.sphere2.transform.translate(new Laya.Vector3(0, 1.3, 0),false); //将从导出球上拿到的材质 贴给代码创建的球 this.sphere2.meshRenderer.material = billinMaterial; ``` 然后就可以看到效果了,如图4所示: (图4) ### 2. ...
来源: Laya2.0_文档 发布时间: 20210715
...xMesh(0.1, 0.1, 0.1))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; var layaMonkey = scene...
来源: Laya_社区 发布时间: 20180312
...子,Add到一个正在运动的节点后。 如节点坐标远离原点Vector3(0.0.0),拖尾会一瞬间出现从原点到挂载节点的迅速拉长现象。 猜测是拖尾粒子在addChild前即开始计算坐标,由于初始是原点,addChild后坐标改变,因此出现了一瞬间的...
来源: Laya_社区 发布时间: 20231225
...i") as Laya.Sprite3D; colliderItem.transform.localRotationEuler = new Laya.Vector3(-90, 0, 0);//让它还原unity上的rotation let phyCol = colliderItem.getComponent(Laya.PhysicsCollider) as Laya.PhysicsCollider; let oldShape = phyCol.colliderShape as Laya.BoxColliderShape; phyCol.colliderShape = o...
来源: Laya_社区 发布时间: 20190320
...PropertyValue getTexture getTextureByIndex getVector2 getVector2ByIndex getVector3 getVector3ByIndex getVector4 getVector4ByIndex hasDefine hasListener isCreateFromURL off offAll offAllCaller oldparseEndEvent on once removeDefine setBool setBoolByIndex setBuffer setBufferByIndex setColor setColorByI...
来源: Laya3.0_api 发布时间: 20231115