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

大约有 272 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0108 秒)

161. laya.display.Graphics [ 89%]

...s  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...

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

162. laya.ui.WXOpenDataViewer_API3.0 [ 89%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

来源: Laya3.0_api 发布时间: 20231102

163. laya.ui.RadioGroup_API3.0 [ 89%]

...oup_Example { public function RadioGroup_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/radio.png"], Handler.create(this, onLoadComplete));//加载资源。 } private function onLoadComplete...

来源: Laya3.0_api 发布时间: 20231115

164. laya.d3.core.scene.Scene3D_API3.0 [ 89%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 _sundir _sundir: Vector3 = new Vector3() Defined in laya/d3/core/scene/Scene3D.ts:381 interanl Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false I...

来源: Laya3.0_api 发布时间: 20231115

165. laya.ui.AdvImage_API3.0 [ 89%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

来源: Laya3.0_api 发布时间: 20231102

166. 绘制能力 · LayaAir3.3 · 引擎文档 · LAYABOX [ 88%]

...,默认使用百分比,也可以取消百分比勾选,采用像素设置。 Percent:当勾选时,矩形的尺寸为Sprite对象尺寸的百分比,当不勾选时,矩形的尺寸为像素大小。 Line Width:绘制矩形的边框宽度。 Line Color:绘制矩形的边框颜色...

来源: Laya3.0_文档 发布时间: 20251010

167. laya.ui.TextInput [ 88%]

...alpha会影响drawcall。Sprite anchorX : NumberX锚点,为0-1,设置anchorX最终通过pivotX来改变节点轴心点。UIComponent anchorY : NumberY锚点,为0-1,设置anchorY最终通过pivotY来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

168. laya.ani.bone.Skeleton [ 88%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...

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

169. laya.ui.List_API3.0 [ 88%]

..._Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

来源: Laya3.0_api 发布时间: 20231115

170. laya.ui.AutoBitmap [ 88%]

...itmap  sizeGrid : Array 当前实例的有效缩放网格数据。 如果设置为null,则在应用任何缩放转换时,将正常缩放整个显示对象。 数据格式:[上边距,右边距,下边距,左边距,是否重复填充(为0:不重复填充,1:重复填充)]。 例如:[4,4...

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