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

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

641. laya.ui.VBox_API3.0 [ 18%]

...xternals Only exported 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 draw...

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

642. laya.ui.OpenDataContextView_API3.0 [ 18%]

...rited from Text.hitArea Defined in laya/display/Sprite.ts:1664 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Retu...

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

643. laya.ui.HBox_API3.0 [ 18%]

...xternals Only exported 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 A...

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

644. laya.ui.TipManager_API3.0 [ 18%]

...rited from Text.hitArea Defined in laya/display/Sprite.ts:1664 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Retu...

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

645. laya.ui.TextArea_API3.0 [ 18%]

...示对象以显示和输入文本。 example 以下示例代码,创建了一个 TextArea 实例。 package { import laya.ui.TextArea; import laya.utils.Handler; public class TextArea_Example { public function TextArea_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor...

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

646. laya.display.Text_API3.0 [ 17%]

...t(); } private function onInit():void { var text:Text = new Text();//创建一个 Text 类的实例对象 text 。 text.text = "这个是一个 Text 文本示例。"; text.color = "#008fff";//设置 text 的文本颜色。 text.font = "Arial";//设置 text 的文本字体。 text.bold = true;//设...

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

647. laya.spine.SpineSkeleton_API3.0 [ 17%]

...rited from Text.hitArea Defined in laya/display/Sprite.ts:1664 可以设置一个Rectangle区域作为点击区域,或者设置一个HitArea实例作为点击区域,HitArea内可以设置可点击和不可点击区域。 如果不设置hitArea,则根据宽高形成的区域进行碰撞。 Retu...

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

648. laya.ani.bone.Skeleton_API3.0 [ 17%]

...verrides Sprite.constructor Defined in laya/ani/bone/Skeleton.ts:121 创建一个Skeleton对象 Parameters Default value aniMode: number = 0 动画模式,0不支持换装,1、2支持换装 Returns Skeleton Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/d...

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

649. laya.display.Stage_API3.0 [ 17%]

...onstructor Defined in laya/display/Stage.ts:171 场景类,引擎只有一个stage实例,此实例可以通过Laya.stage访问。 Returns Stage Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false...

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

650. laya.display.Input_API3.0 [ 17%]

...nput Overrides Text.constructor Defined in laya/display/Input.ts:102 创建一个新的 Input 类实例。 Returns Input Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _onPostLayout _onPostLayout: () => void Inherited from Text._onPostL...

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