大约有 88 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0057 秒)
...建一个自定义的组件脚本: import Sprite = Laya.Sprite; import Component = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite ...
来源: Laya3.0_文档 发布时间: 20251010
...位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的...
来源: Laya2.0_api 发布时间: 20190513
...tants Packagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...tants Packagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否...
来源: Laya2.0_api 发布时间: 20190513
...Events Packagelaya.uiClasspublic class FontClipInheritanceFontClip Clip UIComponent Sprite Node EventDispatcher Object 字体切片,简化版的位图字体,只需设置一个切片图片和文字内容即可使用,效果同位图字体 使用方式:设置位图字体皮肤skin,设置皮...
来源: Laya2.0_api 发布时间: 20190513
...位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode addLabel(label:String, index:int):void 增加一个帧标签到指定索引的...
来源: Laya2.0_api 发布时间: 20190513
... Events Packagelaya.uiClasspublic class ScaleBoxInheritanceScaleBox Box UIComponent Sprite Node EventDispatcher Object 自适应缩放容器,容器设置大小后,容器大小始终保持stage大小,子内容按照原始最小宽高比缩放 Public Properties Hide Inherited Public Properties ...
来源: Laya2.0_api 发布时间: 20190513
...vents Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean...
来源: Laya2.0_api 发布时间: 20190513
...vents Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Pr...
来源: Laya2.0_api 发布时间: 20190513
... | Methods | Events Packagelaya.uiClasspublic class BoxInheritanceBox UIComponent Sprite Node EventDispatcher ObjectImplements IBoxSubclasses LayoutBox, List, Panel, ScaleBox, Tree, UIGroup, ViewStack Box 类是一个控件容器类。 Public Properties Hide Inherited Public Properties Show Inher...
来源: Laya2.0_api 发布时间: 20190513