大约有 251 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0271 秒)
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均...
来源: Laya2.0_api 发布时间: 20190513
...ityPlugin 功能介绍: Mesh Setting --- 网格设置 Ignore Vertices Tangent 忽略顶点切线信息,可减小lm文件大小 Ignore Vertices Color 忽略顶点颜色信息,可减小lm文件大小 ...
来源: Laya_社区 发布时间: 20170428
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent array : Array 列表数据源。...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画组成的动画集合,选择其中一个动画名称进行播放。 Animation autoPlay : Boolean[write-only] 是否自动播放,默认为fal...
来源: Laya2.0_api 发布时间: 20190513
...显示异常。(通常电脑上显示正常,在一些移动端因缺少设置的字体而显示异常)。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-onl...
来源: Laya2.0_api 发布时间: 20190513
...解的也没关系,在本文中还会有相关的介绍。 ##### 3.1.5 设置 Setting 设置项,当前只有一个可配置功能,就是插件的语言(Language),默认是中文,如下图所示。  习惯了英文界面的开发者,可以在这里配置成为Engl...
来源: Laya2.0_文档 发布时间: 20210714
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...
来源: Laya2.0_api 发布时间: 20190513
...听器能够接收事件通知。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAsynLoaded(url:String, data:*, params:Array):void private Sprite3D onc...
来源: laya_api 发布时间: 20170929
...prite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scale...
来源: Laya2.0_api 发布时间: 20190513