大约有 571 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0051 秒)
Laya_社区(232) Laya3.0_api(109) Laya2.0_文档(63) Laya2.0_api(59) Laya3.0_文档(52) laya_api(47) Laya_示例(5) Laya2.0_示例(4)
...不同颜色。 但是两个text拼接的话好像又没法判断在多少距离的时候拼接,因为玩家昵称长短也不一样。而width属性是文本框长度,非文字长度。 更复杂的情况类似装备名字写在文字里面, 这样要分更多段了 请问:layaAir有没...
来源: Laya_社区 发布时间: 20170505
...间,还是上面我说的,你可以算算重力加速度是每秒多少距离(现实生活中是单位米、在Laya里则是像素),重力加速度算出来了,那物体在空中停留的时间就 = 物体初速度/重力加速度 * 2,要控制时间,就把公式套进去算物体初...
来源: Laya_社区 发布时间: 20190311
... this.ray); //射线检测,射线相交的<最近物体>,最大检测距离30米,只检测第13层 Laya.Physics.rayCast(this.ray, this._outHitInfo, 30, 13); if (this._outHitInfo.distance !== -1){ alert("666"); } this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); //绘出射线 this.ph...
来源: Laya_社区 发布时间: 20170323
...i/UIComponent.ts:179 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Returns number Inherited from UIComponent.bottom Defined in laya/ui/UIComponent.ts:187 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Parameters value...
来源: Laya3.0_api 发布时间: 20231115
...会裁剪到的位置,那个位置放ui,或者UI就固定和屏幕的距离
来源: Laya_社区 发布时间: 20180716
...distance:Number):void 向前移动。 Parameters distance:Number — 移动距离。 moveRight()method public function moveRight(distance:Number):void 向右移动。 Parameters distance:Number — 移动距离。 moveVertical()method public function moveVertical(distance:Number):void 向上移...
来源: laya_api 发布时间: 20170929
...i/UIComponent.ts:179 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Returns number Inherited from UIComponent.bottom Defined in laya/ui/UIComponent.ts:187 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 Parameters value...
来源: Laya3.0_api 发布时间: 20231115
...11:29 已经设置了滚动条,可是没有找到每次滚动超过多少距离时,松手回弹或者滚动的效果。 RayFor24 • 2018-01-09 11:32 现在的panel 就是滑动停止也就停止了 雨落丶尘埃 • 2018-06-26 20:54 list里有scrollRect这个 panel没看到scrollRect这属性...
来源: Laya_社区 发布时间: 20180109
...obals "laya/physics/joint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的距离固定不变 Hierarchy JointBase DistanceJoint Index Constructors constructor Properties _extra _singleton collideConnected otherAnchor otherBody owner r...
来源: Laya3.0_api 发布时间: 20231115
...3 17:40 @layaAir小孟:所以开启Instancing之后就不再遵守 Forward 距离相机从近到远渲染的规则了吗? sp2的active置false再置true以后顺序就变成 sp2 & sp1, pass1 --> sp2 & sp1, pass2,这点很迷 Heured • 2024-08-13 17:47 @layaAir小孟:还是说enableInst...
来源: Laya_社区 发布时间: 20240812