大约有 574 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(268) Laya3.0_api(90) Laya2.0_api(84) laya_api(67) Laya2.0_文档(32) Laya3.0_文档(12) Laya2.0_示例(11) Laya_示例(10)
...awToTexture3D event filter frameLoop frameOnce fresh freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...
来源: Laya3.0_api 发布时间: 20231115
... 1. 场景中存在一个目标OBJ, 首先获得目标的坐标this.objPoint3D= OBJ.transform.position2. 从摄像机(透视)构造一条射线(参考官方3D鼠标点击案例),来得到一个鼠标点击坐标this.originRay = new Laya.Ray(this.sceneCamera.transform.position, new Laya.V...
来源: Laya_社区 发布时间: 20200617
... function getScreenPositionByTilePos(tileX:Number, tileY:Number, screenPos:Point = null):void { if (screenPos) { switch (_map.orientation) { case TiledMap.ORIENTATION_ISOMETRIC: screenPo...
来源: Laya_社区 发布时间: 20161109
...:Handler):void[static] 加载网格模板。 Sprite3D normalizedViewportPointToRay(point:Vector2, out:Ray):void 计算从裁切空间生成的射线。 Camera off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 E...
来源: Laya2.0_api 发布时间: 20190513
...neTo getCenter getCorners getExtent setCenterAndExtent toDefault createfromPoints merge Constructors constructor new BoundBox(min: Vector3, max: Vector3): BoundBox Defined in laya/d3/math/BoundBox.ts:17 创建一个 BoundBox 实例。 Parameters min: Vector3 包围盒的最小顶点。 max: Vector3 ...
来源: Laya3.0_api 发布时间: 20231115
...下、左、右扩充一下,防止视口移动时的穿帮 gridSize:Point (default = null) — grid大小 enableLinear:Boolean (default = true) — 是否开启线性取样(为false时,可以解决地图黑线的问题,但画质会锐化) limitRange:Boolean (default = fals...
来源: Laya_社区 发布时间: 20180503
...偏移,可以改源码: laya.core.js第12581行 this._point.setTo(e.pageX || e.clientX,e.pageY || e.clientY); 改为 this._point.setTo((e.pageX || e.clientX)-Browser._container.offsetLeft,e.pageY || e.clientY); 2019-05-30 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自: 你...
来源: Laya_社区 发布时间: 20170518
...let chainCollider = ground.addComponent(Laya.ChainCollider); chainCollider.points = "50,400,50,600,1050,600,1050,400"; let sensorCollider = this.sensorCollider = ground.addComponent(Laya.CircleCollider); sensorCollider.isSensor = true; sensorCollider.radius = 100; sensorCollider.x = 450; sensorColli...
来源: Laya2.0_示例 发布时间: 20251209
...stage); init(); } private function init():void { _view = new Sprite(); var points:Array = [12,41, 0,72, 36,74, 76,72, 60,41, 36,-26, 12,41]; // 从0,0点开始画一个封闭的曲线 _view.graphics.drawCurves(0,0, points, "#ff0000", 15); Laya.stage.addChild(_view); _view.size(80, 100); _view.on(Eve...
来源: Laya_社区 发布时间: 20180319
...wToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get_dataSource get_height get_scaleX get_scaleY get...
来源: Laya3.0_api 发布时间: 20231115