大约有 779 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0090 秒)
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMo...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node CURTIME : int[static] TrailSprite3D destroyed : Boolean = false[只读]是否已经销毁。对象销毁后...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage ...
来源: Laya2.0_api 发布时间: 20190513
... this.text.text = "触控点为1"; //获取当前的触控点,数量为1 let touch = this.scene.input.getTouch(0); //是否为新一次触碰,并未发生移动 if (this.first){ ...
来源: Laya_社区 发布时间: 20190531
...olean set active(value: boolean): void Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolean 是否激活。 Returns void 自身是否激活。 activeInHierarchy get ac...
来源: Laya3.0_api 发布时间: 20231115
... completeCallback?: () => void }> = new Map(); // 回调获取方法(需在setupChannelHandlers存储回调) private callbackMap: Map<string, () => void> = new Map(); private lastKnownPositions: Map<string, number> = new Map(); private origina...
来源: Laya_社区 发布时间: 20250930
...ole",role); } } // 处理发射子弹逻辑 if(role.shootType > 0) { // 获取当前浏览器时间 var time = Laya.Browser.now(); // 如果当前时间大于下次射击时间 if(time > role.shootTime) { // 更新下次射击时间 role.shootTime = time + role.shootInterval; // 根据不同...
来源: Laya_社区 发布时间: 20170525
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115