大约有 1,207 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0047 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(29)
...astMouseY = NaN; this.yawPitchRoll = new Laya.Vector3(); // //实例化一个四元素 this.tempRotationZ = new Laya.Quaternion(); //鼠标是否按下默认为没有按下 this.isMouseDown = false; //旋转速度 ...
来源: Laya_社区 发布时间: 20170810
... 问题状态 最新活动: 2019-09-28 13:44 浏览: 6564 关注: 16 人 vector 1 • 2018-08-30 20:43 大佬,3d部分怎么处理的 内涵tv何吓吓 • 2019-04-19 16:46 大佬,这是重写不是重载吧,也就是,需要到子类里重写...
来源: Laya_社区 发布时间: 20180404
... position = transform.position; var btPosition = CannonPhysicsComponent._btVector30; if (shapeOffset.x !== 0 || shapeOffset.y !== 0 || shapeOffset.z !== 0) { var physicPosition = CannonPhysicsComponent._tempVector30; var worldMat = transform.worldMatrix; Laya.Vector3.transformCoordinate(shapeOffset,...
来源: Laya_社区 发布时间: 20210904
...型索引获得组件。 Sprite3D getComponentsByType(type:*, components:Vector.<Component3D>):void 通过指定类型获得所有组件。 Sprite3D getProjectionViewWorldMatrix(projectionViewMatrix:Matrix4x4):Matrix4x4 获取投影视图世界矩阵。 Sprite3D hasListener(type:String):Boo...
来源: laya_api 发布时间: 20170929
...到整数的网格索引 */ private function getGridIndex(x:int, z:int,out:Vector2):void{ var minX:int = terrainSprite.minX; var minZ:int = terrainSprite.minZ; var cellX:Number = terrainSprite.width / aStarMap.width; var cellZ:Number = terrainSprite.depth / aStarMap.height; var gridX:int = Math.floo...
来源: Laya2.0_文档 发布时间: 20210714
...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...知道是什么原因吗? Laya_Aaron • 2018-07-02 10:29 你有没有把vector.zero改了? 如果做射线检测用这个 不可更改的 常亮传进去做参数,这个zero会被更改导致不可预期的错误。。 FAITH • 2018-07-02 14:25 没有,我全局搜了一遍,没有用到...
来源: Laya_社区 发布时间: 20180627
...象数量。 Node parent : Node[read-only] 父节点。Node pickColor : Vector4RenderableSprite3D PICKCOLOR : int[static] 拾取颜色。RenderableSprite3D SAHDERDEFINE_LIGHTMAP : int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景...
来源: Laya2.0_api 发布时间: 20190513
...eSprite = this.addPBRSphere(Laya.PrimitiveMesh.createSphere(0.1), new Laya.Vector3(0, 0.2, 0.5), scene); sphereSprite.meshRenderer.castShadow = true; sphereSprite.meshRenderer.receiveShadow = true; ``` 然后来看下效果。 (图1)
来源: Laya2.0_文档 发布时间: 20210715
...理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vector3 返回位置 hasHideFlag hasHideFlag(flag: number): boolean Inherited from ...
来源: Laya3.0_api 发布时间: 20231115