大约有 1,852 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0057 秒)
Laya_社区(1125) Laya3.0_api(242) Laya2.0_文档(103) Laya2.0_示例(94) Laya_示例(91) Laya2.0_api(82) laya_api(76) Laya3.0_文档(39)
..."child":[{"props":{"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...
来源: Laya_社区 发布时间: 20170330
... 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Hierarchy Rectangle Index Constructors constructor Properties height width x y TEMP Accessors bottom right Methods addPoint clone conta...
来源: Laya3.0_api 发布时间: 20231115
...c Methods MethodDefined By createBox(long:Number = 1, height:int = 1, width:Number = 1):Mesh[static] 创建Box网格。 PrimitiveMesh createCapsule(radius:Number = 0.5, height:Number = 2, stacks:int = 16, slices:int = 32):Mesh[static] 创建一个胶囊体模型 PrimitiveMesh createCone(r...
来源: Laya2.0_api 发布时间: 20190513
...lScreen : Size[static] [read-only] Size height : int[read-only] Size width : int[read-only] SizePublic Methods MethodDefined By Size(width:int, height:int)SizeProperty DetailfullScreenpropertyfullScreen:Size [read-only] Implementation public static function get fullScreen():Siz...
来源: laya_api 发布时间: 20170929
...lScreen : Size[static] [read-only] Size height : int[read-only] Size width : int[read-only] SizePublic Methods MethodDefined By Size(width:int, height:int)SizeProperty DetailfullScreenpropertyfullScreen:Size [read-only] Implementation public static function get fullScreen():Siz...
来源: Laya2.0_api 发布时间: 20190513
Spine骨骼动画点击区域偏移 获取不到width height Spine骨骼动画点击区域偏移 获取不到width height 下面是模型文件 private _factory: Laya.Templet; constructor(spine, x, y, speed) { this._factory = new Laya.Templet(); this._factory.loadAni(...
来源: Laya_社区 发布时间: 20161108
...c Methods Show Inherited Public Methods MethodDefined By RenderTexture(width:Number, height:Number, format:int, depthStencilFormat:int) RenderTexture _getSource():*[override] 获取纹理资源。 BaseTexture generateMipmap():void 通过基础数据生成mipMap。 BaseTexture getData(x:Numb...
来源: Laya2.0_api 发布时间: 20190513
...ber = 0原始高度(包括被裁剪的透明区域)。Texture sourceWidth : Number = 0原始宽度(包括被裁剪的透明区域)。Texture url : String = null图片地址Texture uv : ArrayTexture width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods ...
来源: Laya2.0_api 发布时间: 20190513
版本2.1.0HTMLDivElement设置width无效,被自动换行!!! 在代码里面设置和IDE里设置都测试过了,一样会出现同样bug,请看下面图片 HTMLDivElement内容:<span style='font:22px SimHei' color='#ffffff'>啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊...
来源: Laya_社区 发布时间: 20190921
... if (needWordWrapOrTruncate){ var wordWrapWidth=this.getWordWrapWidth(); } if (this._currBitmapFont){ this._charSize.width=this._currBitmapFont.getMaxWidth(); this._charSize.height=this._...
来源: Laya_社区 发布时间: 20180526