大约有 291 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0110 秒)
Laya_社区(116) Laya3.0_api(60) Laya2.0_示例(34) Laya2.0_文档(31) Laya_示例(31) Laya3.0_文档(17) laya_api(1) Laya2.0_api(1)
...象的属性 y 的值,用于控制 label 对象的显示位置。 label.width = 300;//设置 label 的宽度。 label.height = 200;//设置 label 的高度。 Laya.stage.addChild(label);//将 label 添加到显示列表。 var passwordLabel:Label = new Label("请原谅我,我不想被人看到...
来源: Laya3.0_api 发布时间: 20231115
...例 或者demo的没有?感觉官网上的有点太简单。 Sprite中的width,height和size(width,height)感觉没作用啊 FB playable Ad 上传zip成功到facebook,广告播放之后,demo不运行? 预加载图集成功了 ,但是渲染的时候找不图片资源。高手帮帮...
来源: Laya_社区 发布时间: 20180827
...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
...l; var Text = Laya.Text; var text = new Text(); text.wordWrap = true; text.width = 100; text.text = '哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈...
来源: Laya_社区 发布时间: 20170609
...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
...this),跳进去 在Layout._multiLineLayout(element)里面的updatePos(0,tWidth,i,tY,align,valign,lineHeight)函数里对元素根据对齐方式重新设置坐标。这里面感觉对垂直居中的y坐标的计算方式不对。根据的是行高来计算,而不是我给组件设置的高 Lay...
来源: Laya_社区 发布时间: 20180104
...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
... 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
...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
...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