• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,873 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0147 秒)

831. 获取index.html中的值 [ 69%]

...>www.layabox.com</title>     <meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/>     <meta name='apple-mobile-web-app-capable' content='yes' />     <meta name='full-screen' content='true' /> ...

来源: Laya_社区 发布时间: 20170413

832. laya.ani.bone.Skeleton_API3.0 [ 69%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY aniMode animationName blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globa...

来源: Laya3.0_api 发布时间: 20231115

833. laya.ui.TipManager_API3.0 [ 69%]

...fsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCa...

来源: Laya3.0_api 发布时间: 20231115

834. 做一个幻灯片,当手机锁屏或者切换应用,部分文字背景会变黑,甚至会消失不见 [ 69%]

...'middle'; contentText.height = 0; contentText.wordWrap = true; contentText.width = parseInt(trueWidth*0.9); contentBox.width = parseInt(trueWidth*0.9); contentBox.height = contentText.height+20; 附件 : --> 2018-03-02 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 ...

来源: Laya_社区 发布时间: 20180302

835. loadImage加载资源的同时指定x,y和sprite对象指定x,y相同的值为什么结果不同 [ 69%]

...ar ape = new Sprite(); ape.loadImage("../bin/res/images/2.png",(Laya.stage.width)/2,(Laya.stage.height)/2);   效果和 ape.x=(Laya.stage.width)/2; ape.y=(Laya.stage.height)/2;不同这是为什么? 2017-07-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀...

来源: Laya_社区 发布时间: 20170717

836. 关于LAYA BOX SHADER uniform变量 有没有对应UNITY SHADER _ScreenParams : 屏幕参数 [ 69%]

...                                x is current render target width in pixels x是当前渲染目标在像素值中宽度                                                                         y is current render target height in pixels y是当前渲...

来源: Laya_社区 发布时间: 20200221

837. textInput的单行输入&多行输入(JavaScript-LayaAir基础篇(JS)-文本) [ 69%]

...性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width = 300;//设置 textInput 的宽度。 textInput.height = 200;//设置 textInput 的高度。 textInput.bgColor = "#aabbcc"; Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } function Text_InputMult...

来源: Laya2.0_文档 发布时间: 20210714

838. webview · LayaAir3.0文档 · LAYABOX [ 69%]

...左上角位置 * @param posy {number} webivew的左上角位置 * @param width {number} webview的宽度 * @param height {number} webview的高度 * @param canclose {boolean} webview是否可以被关掉。 */ setExternalLinkEx(url:string,posx:number,posy:number,width:number,height:number,canclose:...

来源: Laya3.0_文档 发布时间: 20230303

839. laya.ui.Image_API3.0 [ 69%]

...置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的网格信息。 bg.width = 150;//设置 bg 对象的宽度。 bg.height = 250;//设置 bg 对象的高度。 Laya.stage.addChild(bg);//将此 bg 对象添加到显示列表。 var image:Image = new Image("resource/ui/image.png");//创建一个 I...

来源: Laya3.0_api 发布时间: 20231115

840. laya.media.VideoNode_API3.0 [ 69%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode buffered cacheAs components currentSrc currentTime customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize duration ended err...

来源: Laya3.0_api 发布时间: 20231115