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

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

491. laya.ui.List_API3.0 [ 45%]

...ted All Inherited Externals Only exported Menu Globals "laya/ui/List" List Class List List 控件可显示项目列表。默认为垂直方向列表。可通过UI编辑器自定义列表。 example 以下示例代码,创建了一个 List 实例。 package { import laya.ui.List; import laya.utils.H...

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

492. 2D寻路 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...omponent = Laya.Component; import Nav2DAgent = Laya.Nav2DAgent; const { regClass, property } = Laya; @regClass() export class TestSprite extends Laya.Script { // 用于显示鼠标点击的位置 @property({ type: Laya.Sprite }) public hit: Sprite; private _temp: Sprite; private _allAgent: Nav2DAgen...

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

493. 动画状态机 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | Laya.A...

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

494. laya.ui.UIComponent [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar...

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

495. laya.display.Sprite_API3.0 [ 44%]

...nherited Externals Only exported Menu Globals "laya/display/Sprite" Sprite Class Sprite Sprite 是基本的显示图形的显示列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Spri...

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

496. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 44%]

...码 /** * Based upon https://github.com/bgrins/javascript-astar */ export class AStarFindPath { private terrainSprite: MeshTerrainSprite3D; private layaMonkey: Sprite3D; private path: Vector3[]; private _everyPath: any[]; private _position: Vector3 = new Vector3(0, 0, 0); private _upVector3: Vector3...

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

497. laya.ui.LayoutBox [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames LayoutBoxProperties | Methods | Events Packagelaya.uiClasspublic class LayoutBoxInheritanceLayoutBox Box UIComponent Sprite Node EventDispatcher ObjectSubclasses HBox, VBox LayoutBox 是一个布局容器类。 Public P...

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

498. laya.ui.Tree_API3.0 [ 44%]

...ted All Inherited Externals Only exported Menu Globals "laya/ui/Tree" Tree Class Tree Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 example package { import laya.ui.Tree; import laya.utils.Browser; import laya.utils.Handler; public class Tree_Example { public function...

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

499. laya.ui.ViewStack [ 44%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewStackProperties | Methods | Events Packagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图...

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

500. laya.ui.Dialog_API3.0 [ 44%]

...All Inherited Externals Only exported Menu Globals "laya/ui/Dialog" Dialog Class Dialog Dialog 组件是一个弹出对话框,实现对话框弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性...

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