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

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

231. laya.ui.ViewStack [ 34%]

...lements IItem ViewStack 类用于视图堆栈类,用于视图显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场...

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

232. laya.ui.LayoutBox [ 34%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

233. laya.ui.HScrollBar_API3.0 [ 33%]

...r:HScrollBar; public function HScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/hscroll.png", "resource/ui/hscroll$bar.png", "resource/ui/hscroll$down.png", "resource/ui/hscroll$up.p...

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

234. laya.ui.VScrollBar_API3.0 [ 33%]

...r:VScrollBar; public function VScrollBar_Example() { Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

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

235. laya.display.Stage [ 32%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

来源: laya_api 发布时间: 20170929

236. 3D寻路 · LayaAir3.0文档 · LAYABOX [ 32%]

...点击地面时,通过鼠标事件发起获得最短路径调用: //设置鼠标弹起事件响应 Laya.stage.on(Event.MOUSE_UP, this, function (): void { //起始和目标点 var start = this.graph.grid[this.startPoint.x][this.startPoint.y]; var end = this.graph.grid[this.endPoint.x][this.en...

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

237. laya.display.Stage [ 32%]

...内容变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String舞台背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要...

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

238. laya.ui.Panel [ 31%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

239. laya.ui.Tree [ 31%]

...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  array : Array 列表数据源,...

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

240. laya.html.dom.HTMLDivElement_API3.0 [ 30%]

...如果节点需要加载相关皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

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