大约有 322 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(113) Laya3.0_api(105) Laya2.0_文档(39) Laya2.0_api(25) Laya3.0_文档(21) laya_api(13) Laya_示例(6)
...ew Vector3(1.0, 1.0, 1.0); /**@private */ public static const _NegativeUnitX:Vector3 =/*[STATIC SAFE]*/ new Vector3(-1, 0, 0); /**@private */ public static const _UnitX:Vector3 =/*[STATIC SAFE]*/ new Vector3(1, 0, 0); /**@private */ public static const _UnitY:Vector3 =/*[STATIC SAFE]*/ new Vector3(0...
来源: Laya_社区 发布时间: 20190706
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/View" View Class View View 是一个视图类 在2.0里,View继承自Scene类,但这是不合理的,Scene是一个2D+3D的...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ScrollBar" ScrollBar Class ScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容...
来源: Laya3.0_api 发布时间: 20231115
射线BUG 把下面这段代码覆盖http://layaair.ldc.layabox.com ... ample里的代码后执行代码是可以的,但是自己建一个空项目,运行后就会报错,这是不是引擎BUG,下面附上示例,麻烦测试一下,我用的是1.7.1JS版的function MousePickingScene() { M...
来源: Laya_社区 发布时间: 20170323
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/Slider" Slider Class Slider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 ...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/AdvImage" AdvImage Class AdvImage 广告插件 author 小松 date -2018-09-19 Hierarchy Image AdvImage Index Constructors constructor...
来源: Laya3.0_api 发布时间: 20231102
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实...
来源: Laya3.0_api 发布时间: 20231115
...的位置说的是精灵锚点/轴心点所处画布的位置。Position有x和y两个参数,以画布的左上角为原点,从左指向右为x轴正向,从上指向下为y轴正向。 2.2.2 大小Size 精灵的大小是指精灵的宽(W)和高(H),单位是像素。 2.2.3 锚点 Anch...
来源: Laya3.0_文档 发布时间: 20251010
... var startPoi=new Laya.Vector3(this.Bullet.transform.position.x,this.Bullet.transform.position.y,this.Bullet.transform.position.z-0.5);//起始点 var dir = new Laya.Vector3(0,0,-1);//方向 var ray:Laya.Ray = new Laya.Ray(startPoi,dir);//创建射线 ...
来源: Laya_社区 发布时间: 20231120
...transform是一个变换对象([Transform3D](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.core.Transform3D)API),他在3D的世界中非常的重要,所有有关显示对象变化的都会用到他。 在示例代码中已经用到了移动(translate...
来源: Laya2.0_文档 发布时间: 20210715