大约有 368 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
Laya_社区(102) Laya3.0_api(65) Laya2.0_api(58) laya_api(54) Laya3.0_文档(26) Laya2.0_示例(21) Laya2.0_文档(21) Laya_示例(21)
...rea.skin = "resource/ui/input.png";//设置 textArea 的皮肤。 textArea.sizeGrid = "4,4,4,4";//设置 textArea 的网格信息。 textArea.color = "#008fff";//设置 textArea 的文本颜色。 textArea.font = "Arial";//设置 textArea 的字体。 textArea.bold = true;//设置 textArea 的文本...
来源: Laya3.0_api 发布时间: 20231115
...数组:["a.png","b.png"];复杂数组[{url:"a.png",type:Loader.IMAGE,size:100,priority:1},{url:"b.json",type:Loader.JSON,size:50,priority:1}]。 Optional complete: Handler 加载结束回调。根据url类型不同分为2种情况:1. url为String类型,也就是单个资源地址,如果加...
来源: Laya3.0_api 发布时间: 20231115
...个像素占用1bit以下,并且ASTC格式支持RGBA。以ASTC 4x4 Block Size为例,可以看到每个像素占用8bits即1个字节。因此一张1024x1024的RGBA图片按照该格式压缩后占用的内存大小为1MB。如果你的纹理是选择了生成mipmap的话,那么最终的资源...
来源: Laya3.0_文档 发布时间: 20251010
... I/LayaBox﹕ >>>>>>>>>>>>surface innersize changed : g_nInnerWidth=1794,g_nInnerHeight=1080 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ init dev w=1794,h=1080 04-11 11:17:09.578 8591-8609/? I/LayaBox﹕ INFO:gles 支持的最大顶点属性个数=16 04-...
来源: Laya_社区 发布时间: 20170411
...usedResources recoverToPool Constructors constructor new RenderTextureCube(size: number, colorFormat: RenderTargetFormat, depthFormat: RenderTargetFormat, generateMipmap: boolean, multiSamples: number): RenderTextureCube Overrides RenderTexture.constructor Defined in laya/resource/RenderTextureCube....
来源: Laya3.0_api 发布时间: 20231115
...textView(); Laya.stage.addChild(opendata); opendata.pos(100,100); opendata.size(500,500); } } 成功创建开放数据域视图节点后,我们只是完成了引擎层面要完成的工作流程,接下来我们还要完成微信小游戏层面的工作,这之中的第一步就是创建一个...
来源: Laya3.0_文档 发布时间: 20251010
...体。 text.bold = true;//设置 text 的文本显示为粗体。 text.fontSize = 30;//设置 text 的字体大小。 text.wordWrap = true;//设置 text 的文本自动换行。 text.x = 100;//设置 text 对象的属性 x 的值,用于控制 text 对象的显示位置。 text.y = 100;//设置 tex...
来源: Laya3.0_api 发布时间: 20231115
...uctor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimit triggerDownDragLimit triggerUpDragL...
来源: Laya3.0_api 发布时间: 20231115
...ctor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY autoPlay blendMode bottom cacheAs centerX centerY clipHeight clipWidth clipX clipY ...
来源: Laya3.0_api 发布时间: 20231115
...图字体最终将放大1倍显示,此处建议与文本组件的”font size“属性保持一致,这样获得的缩放效果最准确。如果不允许缩放,那此处与实际文本的字体大小设置均无效,会始终保持位图字体的源图大小 自定义行高 勾选后,可以...
来源: Laya3.0_文档 发布时间: 20251010