大约有 571 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya_社区(232) Laya3.0_api(109) Laya2.0_文档(63) Laya2.0_api(59) Laya3.0_文档(52) laya_api(47) Laya_示例(5) Laya2.0_示例(4)
unity做好触发器导进laya之后,如果距离过远则无法检测 2020-09-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 小小泽 จุ บ 赞同来自: 不是太明白是什么意思,方便的话...
来源: Laya_社区 发布时间: 20200919
...aya.Browser; var WebGL = Laya.WebGL; //上次记录的两个触模点之间距离 var lastDistance = 0; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN...
来源: Laya_示例 发布时间: 20251130
...Container div想用appendChild方法添加到某div下,但是针对sprite距离位置并没有变化 showModal() { Laya.init(800, 500, WebGL); Laya.stage.bgColor = "#ffffff"; console.log(Laya.Render._mainCanvas); Laya.Render._mainCanvas.sour...
来源: Laya_社区 发布时间: 20201130
...ance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere intersectsRayPoint(ray:Ray, outPoint:Vector3):Number 判断射线是否与碰撞球交叉,并返回交叉点。 BoundSphere toDefault():voidBoundSphereProperty Detailcenterpropertypublic var cent...
来源: laya_api 发布时间: 20170929
...: number): void Defined in laya/components/Widget.ts:140 表示距底边的距离(以像素为单位)。 Returns number Defined in laya/components/Widget.ts:144 表示距底边的距离(以像素为单位)。 Parameters value: number Returns void centerX get centerX(): number set centerX(val...
来源: Laya3.0_api 发布时间: 20231115
为什么我创建的List组件,向左滑动的时候,滑到一定距离,此时最左边那个item明明在渲染区域,但却消失了. 2018-06-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20180612
...om(value: number): void Defined in laya/ui/Widget.ts:145 表示距底边的距离(以像素为单位)。 Returns number Defined in laya/ui/Widget.ts:149 表示距底边的距离(以像素为单位)。 Parameters value: number Returns void centerX get centerX(): number set centerX(value: numb...
来源: Laya3.0_api 发布时间: 20231102
...onMouseMove(e) { let distance = this.getDistance(e.touches); //判断当前距离与上次距离变化,确定是放大还是缩小 const factor = 0.01; this.sp.scaleX += (distance - lastDistance) * factor; this.sp.scaleY += (distance - lastDistance) * factor; lastDistance = distance; } onMouseUp(e...
来源: Laya2.0_示例 发布时间: 20251130
...ance(ray:Ray):Number 判断射线是否与碰撞球交叉,并返回交叉距离。 BoundSphere intersectsRayPoint(ray:Ray, outPoint:Vector3):Number 判断射线是否与碰撞球交叉,并返回交叉点。 BoundSphere toDefault():voidBoundSphereProperty Detailcenterpropertypublic var cent...
来源: Laya2.0_api 发布时间: 20190513
...使用的 Matrix 对象。Matrix tx : Number沿 x 轴平移每个点的距离。Matrix ty : Number沿 y 轴平移每个点的距离。MatrixPublic Methods MethodDefined By Matrix(a:Number = 1, b:Number = 0, c:Number = 0, d:Number = 1, tx:Number = 0, ty:Number = 0) 使用指定参数创建...
来源: laya_api 发布时间: 20170929