大约有 30 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0037 秒)
...isionUtils.intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3._ZERO; return false; } Vector3.scale(ray.direction, distance, CollisionUtils._tempV30); Vector3.add(ray.origin, CollisionUtils._tempV30, CollisionUtils._tempV31); out = CollisionUtils._tempV31; return true; }这个函数里面...
来源: Laya_社区 发布时间: 20191012
... = camera.addComponent(ModelViewer); modelViewer.AroundPos = Laya.Vector3._ZERO; var directionLight = (scene_360 as Laya.Node).getChildByName('Directional light') as Laya.DirectionLight; //灯光开启阴影 directionLight.shadow = true; //可见阴影距离 directionLight.shadowDistance = 20; direc...
来源: Laya_社区 发布时间: 20190813
...: 射线检测,官方有demo 2019-07-02 0 0 分享 微博 QZONE 微信 Zero 赞同来自: camera.convertScreenCoordToOrthographicCoord(this._pos, this._trans); //转换2D屏幕坐标系统到3D正交投影下的坐标系统,注:只有正交模型下有效。 2019-08-31 0 0 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20190701
...<= 0) { trace("[error] canvasWidth and canvasHeight should greater than zero"); } - offsetX -= sprite.x; - offsetY -= sprite.y; + //offsetX -= sprite.x; + //offsetY -= sprite.y; //把参数强转成int canvasWidth |= 1; canvasHeight |= 1; offsetX |= 1; offsetY |= 1; --- a/libs/laya/src/laya/webgl...
来源: Laya_社区 发布时间: 20180612
..._源颜色,例:RGB(Rs, Gs, Bs),Alpha(As)。RenderState BLENDPARAM_ZERO : int = 0[static] 混合参数枚举_零,例:RGB(0,0,0),Alpha:(1)。RenderState CULL_BACK : int = 2[static] 剔除枚举_剔除背面。RenderState CULL_FRONT : int = 1[static] 剔除枚举_剔除正面。RenderSta...
来源: Laya2.0_api 发布时间: 20190513
... porcess_message(str: string) { const length = str.length; const length_of_zero = Math.ceil(length / 64) * 64 - length - 8 - 1; str += String.fromCharCode(0b10000000); const strArray = this.padding(str.split(""), length + 1 + length_of_zero, String.fromCharCode(0)); const tail = this.split(this.padd...
来源: Laya_社区 发布时间: 20190321
...%20%3E%20eval:4:30925 Error: WebGL: texSubImage2D: This operation requires zeroing texture data. This is slow. 如题 这可能是什么引起的? 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 wudi19...
来源: Laya_社区 发布时间: 20171120
..._源颜色,例:RGB(Rs, Gs, Bs),Alpha(As)。BaseMaterial BLENDPARAM_ZERO : int = 0[static] 混合参数枚举_零,例:RGB(0,0,0),Alpha:(1)。BaseMaterial CULL_BACK : int = 2[static] 剔除枚举_剔除背面。BaseMaterial CULL_FRONT : int = 1[static] 剔除枚举_剔除正面。BaseMa...
来源: laya_api 发布时间: 20170929
...好像不行,无论是Laya.Tween.to(lamp.transform, {localScale:Vector3.zero}, 500); 还是Laya.Tween.to(lamp.transform.localScale, {x:1, y:1, z:1}, 500);都没有反应,是不是我调用的方式不对呢 ? 2017-06-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20170630
...举_源颜色,例:RGB(Rs, Gs, Bs),Alpha(As)。BaseMaterial BLENDPARAM_ZERO : int = 0[static] 混合参数枚举_零,例:RGB(0,0,0),Alpha:(1)。BaseMaterial CULL_BACK : int = 2[static] 剔除枚举_剔除背面。BaseMaterial CULL_FRONT : int = 1[static] 剔除枚举_剔除正面。BaseMater...
来源: laya_api 发布时间: 20170929