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

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

811. 组件装饰器说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

... Getter ,那这个属性则是只读的,仅可以在IDE中显示,但不能编辑。 getter和setter同时存在的装饰器使用示例代码如下: const { regClass, property } = Laya; @regClass() class Animal { private _weight: number = 0; @property( { type : Number } ) get weight() : numb...

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

812. laya.display.Input_API3.0 [ 33%]

...yed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean displayHeight get displayHeight(): number Inherited from Text.displayHeight Defined in laya/display/Sprite.ts:563 对象的显示高度(以像素为单位)。 Returns number displayWidth...

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

813. laya.ui.Box [ 30%]

...值。 Box destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。Component displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : Nu...

来源: laya_api 发布时间: 20170929

814. laya.ui.Box [ 29%]

...ox destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node disabled : Boolean 是否禁用页面,设置为true后,会变灰并且禁用鼠标。UIComponent displayedInStage : Boolean[read-only] 表示是否在显示列表中显示。Node displayHeight : ...

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

815. laya.ui.Box_API3.0 [ 20%]

...yed Defined in laya/display/Node.ts:92 是否已经销毁。对象销毁后不能再使用。 Returns boolean disabled get disabled(): boolean set disabled(value: boolean): void Inherited from UIComponent.disabled Defined in laya/ui/UIComponent.ts:325 是否禁用页面,设置为true后,会变...

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