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

大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)

871. Laya.Tween.to 用这个做缓动动效, 变动scale值有问题, [ 65%]

...模糊处理 Image 设置 scale 之后属性不对 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 2.0模型改变scale到一定值后网格碰撞器失效问题 问题状态 最新活动: 2018-03-15 18:16 浏览: 2431 关注: 2 人 zkang5 • 2018-03-15 18:44 ...

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

872. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 65%]

...改大小 tree.size(300, 300); //修改树的位置 tree.x = (Laya.stage.width - tree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对...

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

873. laya.ui.Label [ 65%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  font : String 文本的字体名称,以字符串形式表示。 ...

来源: laya_api 发布时间: 20170929

874. 发布到微信画面显示不全 [ 65%]

...r ts = Laya.Laya.stage._canvasTransform.identity(); ts.scale((Laya.Browser.width / Laya.Render.canvas.width / Laya.Browser.pixelRatio), Laya.Browser.height / Laya.Render.canvas.height / Laya.Browser.pixelRatio); var canvas = Laya.Render._mainCanvas; var canvasStyle = canvas.source.style; canvasStyle...

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

875. laya.ui.UIGroup_API3.0 [ 65%]

...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

876. LayaAir 2.0 TS版编译出错GameConfig跟创建项目时生成的内容不一致了 [ 65%]

...ox" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static startScene:string="test/TestScene.scene"; static sceneRoot:string=""; static debug:boolean=false; stat...

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

877. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 65%]

...t.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var url:string = "http://layabox.com/"; this.qrcode.makeCode(url); Laya.stage.once("click",this,this.clickHandler); this.qrcodeSp = new Laya.Sprite(); Laya.stage.addChild(this.qrcodeSp); } private cl...

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

878. popupEffect 有谁能告诉我dialog的这个东西要怎么用啊? [ 65%]

...log.scale(1, 1);             Tween.from(dialog, {x: Laya.stage.width / 2, y: Laya.stage.height / 2, scaleX: 0, scaleY: 0}, 300, Ease.backOut, Handler.create(this, this.doOpen, [dialog]));         } 2018-06-21 0 2 分享 微博 QZONE 微信 1553745787用户 赞同来自: class Dia...

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

879. laya.ui.ComboBox [ 65%]

...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...

来源: laya_api 发布时间: 20170929

880. laya.ui.Label [ 65%]

...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite  font : String 文本的字体名称...

来源: Laya2.0_api 发布时间: 20190513