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

大约有 299 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0079 秒)

71. laya.ui.Component [ 79%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By  measureHeight : Number[read-only] 显示对象实际显示区域高度(以像素为单位)。 Component  measureWidth : Number[read-only] 显示对...

来源: laya_api 发布时间: 20170929

72. laya.ui.Button [ 79%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

73. laya.ani.bone.Skeleton [ 79%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By  _templet : TempletSkeletonPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  Skeleton(templet:Templet = null, a...

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

74. laya.ui.ScaleBox [ 79%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

75. laya.ui.Clip [ 79%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

76. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 78%]

...de: T): T Inherited from Node.addChild Defined in laya/display/Node.ts:198 添加子节点。 Type parameters T: Node Parameters node: T 节点对象 Returns T 返回添加节点 addChildAt addChildAt(node: Node, index: number): Node Inherited from Node.addChildAt Defined in laya/display/Node.ts:...

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

77. laya.ui.ComboBox [ 78%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...

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

78. laya.display.Sprite [ 78%]

...旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然再获取宽高。Sprite宽高一般用于进行碰撞检...

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

79. laya.components.Component_API3.0 [ 78%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型脚本一次 owner owner: Node Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Defined in laya/components/Component.ts:34 是否可以在IDE环...

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

80. LayaAir组件化开发(TypeScript-IDE篇(TS)-组件化开发相关) [ 78%]

...,例如UI组件、物理组件,同时我们也允许开发者为节点添加脚本组件,实现对节点单独控制。 为了更好让脚本类管理好自己所属节点,引擎也提供了大量生命周期方法。 > 生命周期,即为从出生死亡一系列重要节点...

来源: Laya2.0_文档 发布时间: 20210715