大约有 334 项符合查询结果, 库内数据总量为 31,624 项。 (搜索耗时: 0.0034 秒)
Laya3.0_api(116) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48) Laya_社区(10) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...,如图2-2所示。 (图2-2) Width:渲染纹理的像素宽度。 Height:渲染纹理的像素高度。 Color Format:渲染纹理的颜色格式。 Depth Format:渲染纹理的深度格式。 Generate Mipmap:如果勾选了,则自动生成多级渐进纹理级别。 Multi Samples...
来源: Laya3.0_文档 发布时间: 20251010
...onAwake(): void { this.txtarea.pos(Laya.stage.width >> 1, Laya.stage.height >> 1); //位置 this.txtarea.size(500, 200); //大小 this.txtarea.pivot(this.txtarea.width/2, this.txtarea.height/2); //轴心点 this.txtarea.text = "大家好,欢迎各位开发者使用LayaAir IDE,这里...
来源: Laya3.0_文档 发布时间: 20251010
...绝对定位,一种是相对定位 绝对定位时,可以使用width,height,x,y 相对定位时,在某些情况下不是很好用 比如说,我有一个按钮,宽高是固定的,100*100,这时我相对于上级的坐标希望是相对位置,right=0,top=0,表示右上角对...
来源: Laya_社区 发布时间: 20170217
... object or misses all objects. * When not penetrable, the node's width and height define the mouse collision area (a non-penetrable rectangular area). If the rectangular collision area does not meet the requirements, you can use the drawing area of the hit area as the collision area. The hit area ta...
来源: Laya_社区 发布时间: 20250825
...wTextureM _drawTextureM(tex: Texture, x: number, y: number, width: number, height: number, transform: Matrix, alpha: number, uv: any[] | null): void Defined in laya/resource/NativeContext.ts:375 Parameters tex: Texture x: number y: number width: number height: number transform: Matrix alpha: number ...
来源: Laya3.0_api 发布时间: 20231102
...是matter自带的渲染器 2、必须执行 Laya.init(stageWidth, stageHeight, WebGL);否则会报错:TypeError: Cannot read property 'frameLoop' of nullvar Browser = Laya.Browser; var WebGL = Laya.WebGL; var Matter = window.Matter; var LayaRender = window.LayaRender; var stageWidth = 800; var s...
来源: Laya_社区 发布时间: 20170905
...HTMLCanvas[static] 全局画布实例(非主画布)。Browser clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含...
来源: laya_api 发布时间: 20170929
...布)。主要用来测量字体、获取image数据。Browser clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含...
来源: Laya2.0_api 发布时间: 20190513
...re : SolidColorTexture2D[static] 灰色纯色纹理。SolidColorTexture2D height : int[read-only] 获取高度。 BaseTexture magentaTexture : SolidColorTexture2D[static] 洋红色纯色纹理。SolidColorTexture2D magFifter : int 放大过滤器 BaseTexture minFifter : int 缩小过滤器 Bas...
来源: laya_api 发布时间: 20170929
...大小和数量,自动调整高度和宽度为合适大小;高度("height"):Label边框只自动调整高度 样式 style “B”(bold)是否为粗体,“I”(italic)是否为斜体,“U”是否有下划线 语法 syntax 多样式混排,支持部分HTML语法和UBB语法。还可以...
来源: Laya3.0_文档 发布时间: 20251010