大约有 1,720 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0051 秒)
Laya_社区(1002) Laya3.0_api(243) Laya2.0_示例(91) Laya_示例(90) Laya2.0_文档(89) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48)
...entationAll Packages | All Classes | Index | Frames No Frames TerrainHeightDataProperties | Methods Packagelaya.d3.terrainClasspublic class TerrainHeightDataInheritanceTerrainHeightData laya.resource.Resource TerrainHeightData 类用于描述地形高度信息。 Public Properties PropertyD...
来源: Laya2.0_api 发布时间: 20190513
...===void 0)&& (premultiplyAlpha=false); var width=source.width; var height=source.height; this._width=width; this._height=height; this._setWarpMode(/*laya.webgl.WebGLContext.TEXTURE_WRAP_S*/0x2802,this._wrapModeU); this._setWarpMode(/*laya.webgl.WebGLContext.TEXTURE_WRAP_T*/0x2803,this._wrapM...
来源: Laya_社区 发布时间: 20190809
...rops":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp/clip_num.pn...
来源: Laya_社区 发布时间: 20170330
获取sprite对象的 width和height为0 /** * 船 */ class Boat extends Laya.Sprite { private bt:Laya.Sprite; constructor() { super() this.bt = new Laya.Sprite() this.bt.loadImage("res/boat.png") this.addChild(this.bt) } } /** * 游戏背景 */ class BackGround extends Laya.Sprite { //背景图 ...
来源: Laya_社区 发布时间: 20160804
...纹理。 是把 x X 轴偏移量。 y Y 轴偏移量。 width 宽度。 height 高度。 m 矩阵信息。 把这几个参数组成一个json对象,然后再把多个json组成数组传入吗? 像这样吗drawTextures(texture, [{x:0, y:0, width:128, height:64}, {x:128, y:0, width:128, height:64...
来源: Laya_社区 发布时间: 20170405
...I DocumentationAll Packages | All Classes | Index | Frames No Frames HeightMapProperties | Methods Packagelaya.d3.coreClasspublic class HeightMapInheritanceHeightMap Object HeightMap 类用于实现高度图数据。 Public Properties PropertyDefined By height : int[read-only] 获取高...
来源: laya_api 发布时间: 20170929
...I DocumentationAll Packages | All Classes | Index | Frames No Frames HeightMapProperties | Methods Packagelaya.d3.coreClasspublic class HeightMapInheritanceHeightMap Object HeightMap 类用于实现高度图数据。 Public Properties PropertyDefined By height : int[read-only] 获取高...
来源: Laya2.0_api 发布时间: 20190513
...以手动设置宽高吗?怎么设置,看到API里的Sprite的width和height无法设置,只用于碰撞检测 2018-01-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 qian 赞同来自: this.bg_img.skin = ...
来源: Laya_社区 发布时间: 20180122
如何获取animation的中点坐标??并且获取animation的width和height都为0是为什么? 2017-08-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞同来自: 用getBounds().width,,,get...
来源: Laya_社区 发布时间: 20170810
...以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Hierarchy Rectangle Index Constructors constructor Properties height width x y TEMP Accessors bottom right Methods addPoint clone contains copyFr...
来源: Laya3.0_api 发布时间: 20231115