大约有 282 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0162 秒)
...): Node Inherited from Node.getChildAt Defined in laya/display/Node.ts:312 根据子节点的索引位置,获取子节点对象。 Parameters index: number 索引位置 Returns Node 子节点 getChildByName getChildByName(name: string): Node Inherited from Node.getChildByName Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bitmap : AutoBitmap[read-only] AutoBitmap 位图实例。 Clip blendMode :...
来源: Laya2.0_api 发布时间: 20190513
反射实例中的属性 根据API中Laya.ClassUtils.类中的方法,我先注册了,在创建了实例!但我如何获取实例中对象的属性 // 程序入口 class GameMain { constructor() { Laya.init(600, 400); Laya.ClassUtils.regClass("sp", Reflect); Laya.ClassUtils.getInstance('sp').p...
来源: Laya_社区 发布时间: 20181029
...通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child && child.name === ...
来源: Laya3.0_文档 发布时间: 20251010
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合...
来源: Laya2.0_api 发布时间: 20190513
...): Node Inherited from Node.getChildAt Defined in laya/display/Node.ts:312 根据子节点的索引位置,获取子节点对象。 Parameters index: number 索引位置 Returns Node 子节点 getChildByName getChildByName(name: string): Node Inherited from Node.getChildByName Defined in laya/displ...
来源: Laya3.0_api 发布时间: 20231115
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"...
来源: laya_api 发布时间: 20170929
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"...
来源: Laya2.0_api 发布时间: 20190513
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"...
来源: laya_api 发布时间: 20170929
...默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合...
来源: Laya2.0_api 发布时间: 20190513