大约有 2,282 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0070 秒)
Laya_社区(1682) Laya3.0_api(144) Laya2.0_文档(127) Laya2.0_api(103) laya_api(77) Laya3.0_文档(59) Laya_示例(48) Laya2.0_示例(42)
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/ChainCollider" ChainCollider Class ChainCollider 2D线形碰撞体 Hierarchy ColliderBase ChainCollider Index Constructors ...
来源: Laya3.0_api 发布时间: 20231115
...到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 cuixueying 赞同来自: jinghuhuilai var p1:Point = new Point(10,20); var p2:Point = new Point(100,200); var x:int = p1.x - p2.x; ...
来源: Laya_社区 发布时间: 20170511
Slider控件的标签不居中 protected function showValueText():void { if (showLabel) { var label:Label = Slider.label; addChild(label); label.textField.changeText(_value + ""); if (isVertical) { label.x = _bar._x + 20; label.y = (_bar.height - label.height) * 0.5 + _bar._y; } else { label.y = _b...
来源: Laya_社区 发布时间: 20190125
...到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 189*****192 localToGlobal和globalToLocal是局部转全局和全局转局部,你可以用着两个方法,让豆或道具的坐标变成相对于屏幕的坐标! 2017-05-04 1 3 分享 微博 QZONE ...
来源: Laya_社区 发布时间: 20170504
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/cmd/DrawRoundRectCmd" DrawRoundRectCmd Class DrawRoundRectCmd Hierarchy DrawRoundRectCmd Index Properties fillColor height ...
来源: Laya3.0_api 发布时间: 20231115
... 赞同来自: qwer535305054 function getMousePos(ev) { var scrollX = document.documentElement.scrollLeft || document.body.scrollLeft; var scrollY = document.documentElement.scrollTop || document.body.scrollTop; var x = ev.pageX || ev.clientX + scrollX; var...
来源: Laya_社区 发布时间: 20171102
...展里面 类似 attribute vec2 position; attribute vec2 texcoord; attribute vec4 color; uniform vec2 size; uniform mat4 mmat; varying vec2 v_texcoord;varying vec4 v_color; void main(){ vec4 pos =mmat*vec4(position.x,position.y,0,1); gl_P...
来源: Laya_社区 发布时间: 20180313
...ponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. ///...
来源: Laya_社区 发布时间: 20170714
...致问题 Laya 碰撞器偏移Bug一 首先为下图上面的Cube添加 Box碰撞器和钢体 当cube scale为 1 :1:1时将图中上方的Cube碰撞器偏移 laya预览效果与Unity运行效果一致 将下图上方的cube Transform属性的Scale 设置为5:1:1的比例将X轴 Scale 拉伸5...
来源: Laya_社区 发布时间: 20191019
...到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 cuixueying 赞同来自: 看下你的代码或者给个例子,子节点再0,0处,应该是没有问题的! 2017-02-17 0 2 分享 微博 QZONE 微信 Devilsparta 赞同来自: var panel = new Laya.Panel(); panel.width = 80...
来源: Laya_社区 发布时间: 20170217