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

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

201. laya.ui.Label_API3.0 [ 73%]

...象的属性 y 的值,用于控制 label 对象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到...

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

202. HttpRequest感觉没有发成功 [ 73%]

...例 或者demo的没有?感觉官网上的有点太简单。 Sprite中的width,height和size(width,height)感觉没作用啊 FB playable Ad 上传zip成功到facebook,广告播放之后,demo不运行? 预加载图集成功了 ,但是渲染的时候找不图片资源。高手帮帮...

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

203. 其他引擎的Demo-Example_04 [ 73%]

...h.random() / 20), sy = 1.0 + (Math.random() / 20), stars = [], w = Browser.width, h = Browser.height, slideX = w / 2, slideY = h / 2, speedInfo; class PIXI_Example_04 { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Loader = Laya.Loader; // ...

来源: Laya2.0_示例 发布时间: 20260303

204. 能不能添加一个控件可以让文字和组件实现弹性滚动啊 [ 72%]

...l; var Text = Laya.Text; var text = new Text(); text.wordWrap = true; text.width = 100; text.text = '哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈...

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

205. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 72%]

...le"; // div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl[i],'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;posi...

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

206. html固定宽高,设置垂直居中没有效果。只有水平居中才生效。看了下源码,感觉在updatePos函数里的算法不对 [ 72%]

...this),跳进去 在Layout._multiLineLayout(element)里面的updatePos(0,tWidth,i,tY,align,valign,lineHeight)函数里对元素根据对齐方式重新设置坐标。这里面感觉对垂直居中的y坐标的计算方式不对。根据的是行高来计算,而不是我给组件设置的高 Lay...

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

207. laya.ui.Radio_API3.0 [ 72%]

...Prior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOpt...

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

208. 在微信小游戏中,主域中显示开发域的list为什么显示不全? [ 72%]

... rankList.array = data;     rankList.height = 800;     //rankList.width = 1100;     console.log('ranklist info xxxxxxxxxxxxxxxxxxxxx')     console.log(rankList.width);     console.log(rankList.height);             /*var rank:ListPage = new ListPage();     Laya.sta...

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

209. laya.ui.UIGroup_API3.0 [ 72%]

...ouseThrough name selectHandler tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed direction disabled displayHeight displayWidth displayedInStage drawCa...

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

210. laya.d3.core.scene.Scene3D_API3.0 [ 71%]

...neUBOData drawtocanvCtx sceneUniformMap Accessors GIRotate _isHeightSet _isWidthSet active activeInHierarchy alpha ambientColor ambientIntensity ambientMode ambientSH anchorX anchorY blendMode cacheAs components cullInfoCamera cullPass customRenderEnable destroyed displayHeight displayWidth displaye...

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