大约有 1,738 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0093 秒)
Laya_社区(1124) Laya3.0_api(223) Laya2.0_文档(89) Laya2.0_api(72) Laya2.0_示例(66) Laya_示例(63) laya_api(62) Laya3.0_文档(39)
...模糊处理 Image 设置 scale 之后属性不对 设置适配SCALE_FIXED_WIDTH,结果少部分andriod机型不能正确适配屏幕 2.0模型改变scale到一定值后网格碰撞器失效问题 问题状态 最新活动: 2018-03-15 18:16 浏览: 2431 关注: 2 人 zkang5 • 2018-03-15 18:44 ...
来源: Laya_社区 发布时间: 20180315
...改大小 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
...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite font : String 文本的字体名称,以字符串形式表示。 ...
来源: laya_api 发布时间: 20170929
...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
...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
...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
...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
...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
...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴...
来源: laya_api 发布时间: 20170929
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite font : String 文本的字体名称...
来源: Laya2.0_api 发布时间: 20190513