大约有 855 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(480) Laya3.0_api(108) Laya2.0_api(86) laya_api(76) Laya3.0_文档(54) Laya2.0_文档(45) Laya2.0_示例(3) Laya_示例(3)
...d from BaseTexture.height Defined in laya/resource/BaseTexture.ts:40 获取高度。 Returns number Inherited from BaseTexture.height Defined in laya/resource/BaseTexture.ts:44 获取高度。 Parameters height: number Returns void id get id(): number Inherited from Resource.id Defined in laya/resou...
来源: Laya3.0_api 发布时间: 20231102
...d from BaseTexture.height Defined in laya/resource/BaseTexture.ts:42 获取高度。 Returns number Inherited from BaseTexture.height Defined in laya/resource/BaseTexture.ts:46 获取高度。 Parameters height: number Returns void id get id(): number Inherited from Resource.id Defined in laya/resou...
来源: Laya3.0_api 发布时间: 20231115
...d from BaseTexture.height Defined in laya/resource/BaseTexture.ts:42 获取高度。 Returns number Inherited from BaseTexture.height Defined in laya/resource/BaseTexture.ts:46 获取高度。 Parameters height: number Returns void id get id(): number Inherited from Resource.id Defined in laya/resou...
来源: Laya3.0_api 发布时间: 20231115
...作都通过Graphics来实现的。Sprite height : Number 显示对象的高度,单位为像素,默认为0。 此高度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。 可以通过getbounds获取...
来源: laya_api 发布时间: 20170929
...剥离,有效降低引擎包体体积并提升加载速度;同时依托高度解耦的架构设计,使物理、渲染等高复杂度模块能够独立运行与灵活扩展,从而在资源受限的运行环境中,以更低开销支撑高性能的实时交互体验。 在 IDE 中,引擎模...
来源: Laya3.0_文档 发布时间: 20260122
... [false, false, false, false]; private init() { // 设置背景色为场景高度 this.box_color_bg.height = Laya.stage.height; } onEnable() { this.init(); // 判定是注册还是忘记密码 if (GameData.I.isReg) { this._regMode(); } else { this._forgetMode(); } // 添加取消事件 this.lb_cance...
来源: Laya_社区 发布时间: 20200410
...点击这里。 一、概述 1.1 LayaAir-IDE 使用LayaAir进行开发,高度依赖LayaAir-IDE。其中,Unity编辑器(图1-1)和LayaAir-IDE(图1-2)各区域的功能对比如下,相同颜色表示相同的功能。 (图1-1 )Unity编辑器 (图1-2)LayaAir3-IDE编辑器 1.2 面...
来源: Laya3.0_文档 发布时间: 20251010
...个矩形2D网格 * @param width 矩形的宽度 * @param height 矩形的高度 */ private generateRectVerticesAndUV(width: number, height: number): Laya.Mesh2D { const vertices = new Float32Array(4 * 5); const indices = new Uint16Array(2 * 3); let index = 0; vertices[index++] = 0; vertices[index++...
来源: Laya3.0_文档 发布时间: 20251120
...特别有用。 也可以使用它们来将约束修改为自己设计的高度专业的约束。 **ConfigurableConstraint介绍** 可配置约束使得用户拥有配置该约束六个自由度的能力,这六个自由度包括三个线性轴上的运动,即平移运动,三个围绕轴的角...
来源: Laya2.0_文档 发布时间: 20210715
...法,可以创建Box网格,而且还可以创建不同的垂直和水平高度。 因此,可以通过代码创建不同类型的Mesh网格: //正方体 Laya.PrimitiveMesh.createBox(0.5, 0.5, 0.5); //球体 Laya.PrimitiveMesh.createSphere(0.25, 20, 20); //圆柱体 Laya.PrimitiveMesh.createCyl...
来源: Laya3.0_文档 发布时间: 20251010