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

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

131. laya.ui.FontClip_API3.0 [ 43%]

...rited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:226 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 Returns number Inherited from UIComponent.centerX Defined in laya/ui/UIComponent.ts:230 在父容器中,...

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

132. 浏览器接口 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...t window(): any { return Browser._window || Browser.__init__(); } /**画布容器,用来盛放画布的容器。方便对画布进行控制*/ static get container(): any { if (!Browser._container) { Browser.__init__(); Browser._container = Browser.createElement("div"); Browser._container.id = "lay...

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

133. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 40%]

...域的对象尽量从显示列表移除或者设置visible=false。 对于容器内有大量静态内容或者不经常变化的内容(比如按钮),可以对整个容器设置cacheAs属性,能大量减少Sprite的数量,显著提高性能。如果有动态内容,最好和静态内容分...

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

134. laya.ui.View [ 38%]

...存开销,无需renderTarget支持。 Sprite  centerX : Number 在父容器中,此对象的水平方向中轴线与父容器的水平方向中心线的距离(以像素为单位)。 View  centerY : Number 在父容器中,此对象的垂直方向中轴线与父容器的垂直方向中心...

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

135. laya.display.Stage [ 37%]

... width : Number[override] Stage x : Number表示显示对象相对于父容器的水平方向坐标值。Sprite y : Number表示显示对象相对于父容器的垂直方向坐标值。Sprite zOrder : Numberz排序,更改此值,则会按照值的大小对同一容器的所有对象重新排...

来源: laya_api 发布时间: 20170929

136. laya.display.Stage [ 35%]

...象图像的实际宽度。 Stage x : Number表示显示对象相对于父容器的水平方向坐标值。Sprite y : Number表示显示对象相对于父容器的垂直方向坐标值。Sprite zOrder : Numberz排序,更改此值,则会按照值的大小对同一容器的所有对象重新排...

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

137. laya.display.Stage_API3.0 [ 26%]

...Text.x Defined in laya/display/Sprite.ts:419 表示显示对象相对于父容器的水平方向坐标值。 Returns number Inherited from Text.x Defined in laya/display/Sprite.ts:423 表示显示对象相对于父容器的水平方向坐标值。 Parameters value: number Returns void y get y(): num...

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

138. laya.ui.LayoutBox_API3.0 [ 26%]

...als "laya/ui/LayoutBox" LayoutBox Class LayoutBox LayoutBox 是一个布局容器类。 Hierarchy Box LayoutBox HBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSe...

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

139. laya.ui.VBox_API3.0 [ 26%]

...rted Menu Globals "laya/ui/VBox" VBox Class VBox VBox 是一个垂直布局容器类。 Hierarchy LayoutBox VBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior isSortItem mouseThrough name tag CENTER LEFT NONE RIGHT drawtocanvCtx Accessor...

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

140. laya.ui.HBox_API3.0 [ 26%]

...rted Menu Globals "laya/ui/HBox" HBox Class HBox HBox 是一个水平布局容器类。 Hierarchy LayoutBox HBox Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag BOTTOM MIDDLE NONE TOP drawtocanvCtx Accessors _isHeight...

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