大约有 72 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0224 秒)
...; if (value != 0u) { writeIndex = ivec2(writeIndex.y, writeIndex.x); } int center = 4 * local.x + c; if (center >= filterOffset && center < 128 - filterOffset && all(lessThan(writeIndex, dims))) { vec3 acc = vec3(0.0); float invFilter = 1.0 / float(filterDim); for (int f = 0; f...
来源: Laya3.0_文档 发布时间: 20260131
...BoundBox):Boolean 判断两个包围盒是否相等 OrientedBoundBox getCenter(center:Vector3):void 该包围盒的几何中心 OrientedBoundBox getCorners(corners:Vector.<Vector3>):void 获取OBB包围盒的8个顶点。 OrientedBoundBox getObbtoObbMatrix4x4(a:OrientedBoundBox, b:Ori...
来源: laya_api 发布时间: 20170929
...BoundBox):Boolean 判断两个包围盒是否相等 OrientedBoundBox getCenter(center:Vector3):void 该包围盒的几何中心 OrientedBoundBox getCorners(corners:Vector.<Vector3>):void 获取OBB包围盒的8个顶点。 OrientedBoundBox getObbtoObbMatrix4x4(a:OrientedBoundBox, b:Ori...
来源: Laya2.0_api 发布时间: 20190513
...T; Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; init(); })(); function init(){ } })(); 以下是新建的一个文件 EF_DataProtocol.js:var EF_DataProtocol = function () { EF_DataProtocol.prototype.init = function...
来源: Laya_社区 发布时间: 20201001
...howall"; //设置剧中对齐 Laya.stage.alignH = "center"; //设置横竖屏 Laya.stage.screenMode = "vertical"; //显示FPS Laya.Stat.show(0, 50); Laya.loader.load("res/music/Music_start.mp3", ...
来源: Laya_社区 发布时间: 20170105
...图片在屏幕中的显示与缩放方式,支持以下几种模式: center(居中):图片居中显示,不进行缩放 fill(填充):拉伸图片以填满屏幕,可能产生变形 contain(包含):在保持比例完整显示图片的前提下,缩放至全屏尺寸,可能...
来源: Laya3.0_文档 发布时间: 20260128
... = "showall"; Laya.stage.alignV = 'middle'; Laya.stage.alignH = 'center'; Laya.stage.screenMode = "vertical"; Laya.stage.bgColor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLo...
来源: Laya_社区 发布时间: 20171213
..."#ff0000"。 textAlign: string 文本对齐方式,可选值:"left","center","right"。 lineWidth: number 镶边线条宽度。 borderColor: string 定义镶边文本颜色。 Returns FillTextCmd fillText fillText(text: string | WordText, x: number, y: number, font: string, color: string, tex...
来源: Laya3.0_api 发布时间: 20231115
... 标签水平对齐 labelAlign 文本标签的水平对齐模式:left、center、right,默认为居中对齐。 标签垂直对齐 labelVAlign 文本标签的垂直对齐模式:top、middle、bottom,默认为居中对齐。 标签边距 labelPadding 文本标签的边距。格式:上边距...
来源: Laya3.0_文档 发布时间: 20251010
...四个选项。none:不进行垂直对齐,left:居顶垂直对齐,center:居中垂直对齐,right:居底垂直对齐,默认为none。 跳过隐藏节点 skipHidden 默认为false,勾选后排列时自动跳过隐藏的节点。 自动宽高模式 autoSizeMode 根据选项自动调...
来源: Laya3.0_文档 发布时间: 20251010