大约有 712 项符合查询结果, 库内数据总量为 30,938 项。 (搜索耗时: 0.0064 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
...X 、竖向分割数量 clipY , 或横向分割每个切片的宽度 clipWidth 、竖向分割每个切片的高度 clipHeight , 从左向右,从上到下,分割组合为一个切片动画。 Image和Clip组件是唯一支持异步加载的两个组件,比如clip.skin = "abc/xxx.png",其...
来源: Laya2.0_api 发布时间: 20190513
... "type":"tilelayer", "visible":true, "width":10, "x":0, "y":0 }], "nextobjectid":1, "orientation":"isometric", "renderorder":"right-down", "tiledversion":"2018.02.14", "tileheight":86, "tilesets":[ { ...
来源: Laya_社区 发布时间: 20180321
...= ["goblin","goblingirl"]; (function() { WebGL.enable(); Laya.init(Browser.width, Browser.height); Laya.stage.bgColor = "#ffffff"; Stat.show(); startFun(); })(); function startFun() { mAniPath = "../../res/spine/spineRes2/goblins.sk"; mFactory = new Templet(); mFactory.on(Event.COMPLETE, this, parse...
来源: Laya_示例 发布时间: 20250315
...知道出来的是什么宽高) console.log(tiledMap.gridWidth,tiledMap.gridHeight); //地图宽高 console.log(tiledMap.width,tiledMap.height); // console.log(tiledMap.numColumnsGrid,tiledMap.numRowsGrid ); ...
来源: Laya_社区 发布时间: 20180614
...mouseThrough属性。 影响对象鼠标事件响应区域的属性为:width、height、hitArea,优先级顺序为:hitArea(type:HitArea)>hitArea(type:Rectangle)>width/height。 Sprite mouseX : Number[read-only] 返回鼠标在此对象坐标系上的 X 轴坐标信息。 Sprite mouseY ...
来源: laya_api 发布时间: 20170929
...read-only] 对象的显示高度(以像素为单位)。 Sprite displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Sprite drawCallOptimize : BooleanSprite filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...ctor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; //这里是我注释掉的代码 //Laya.lo...
来源: Laya_社区 发布时间: 20171106
...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
...d-only] 对象的显示高度(以像素为单位)。 Component displayWidth : Number[read-only] 对象的显示宽度(以像素为单位)。 Component filters : Array滤镜集合。可以设置多个滤镜组合。Sprite font : String 文本的字体名称,以字符串形式表示。 ...
来源: laya_api 发布时间: 20170929
...知道出来的是什么宽高) console.log(tiledMap.gridWidth,tiledMap.gridHeight); //地图宽高 console.log(tiledMap.width,tiledMap.height); // console.log(tiledMap.numColumnsGrid,tiledMap.numRowsGrid ); ...
来源: Laya_社区 发布时间: 20180612