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

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

71. laya.ui.UIComponent [ 78%]

...s No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui...

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

72. 用HTMLIframeElement加载优酷视频报错 [ 78%]

...如下: package {     import laya.html.dom.HTMLIframeElement;     public class LayaSample {         public function LayaSample() {             Laya.init(640,1136);             var iframe = new HTMLIframeElement();             iframe.href = 'http://player.youk...

来源: Laya_社区 发布时间: 20170213

73. 移动端横竖屏适配(类似锁屏效果)? [ 78%]

...同来自: package { import laya.events.Event; import laya.utils.Browser; public class ShiPei { private var fillWidth:Number=Browser.width; private var fillHeight:Number=Browser.height; public function ShiPei() { //设置初始化 Laya.init(fillWidth,fillHeight); //设置横屏显示 Laya.stage.scre...

来源: Laya_社区 发布时间: 20160718

74. laya.ui.ScrollBar [ 78%]

...mes No Frames ScrollBarProperties | Methods | Events Packagelaya.uiClasspublic class ScrollBarInheritanceScrollBar Component Sprite Node EventDispatcher ObjectSubclasses HScrollBar, VScrollBar ScrollBar 组件是一个滚动条组件。 当数据太多以至于显示区域无法容纳时,最终...

来源: laya_api 发布时间: 20170929

75. 请问Laya如何使用第三方物理库 [ 78%]

... this.world.allowSleep = true; Laya.timer.frameLoop(1, this, this.Step); } public Step() { this.world.step(1 / 60); }   再把CANNON.Body包装成组件 export class CannonRigidbody extends Laya.Script3D { static map: { [key: number]: Laya.Sprite3D } = {}; body: CANNON.Body; t: Laya.Transform3D; pu...

来源: Laya_社区 发布时间: 20200217

76. Cannot read property 'load' of null [ 78%]

...ce(); } } new main(); class MapManager { private static s_instance = null; public static getInstance():MapManager { if(null==this.s_instance) { this.s_instance=new MapManager(); this.s_instance.init(); } return this.s_instance; } private init() { } private skins: Array<string>; private mapImg:...

来源: Laya_社区 发布时间: 20171124

77. laya.ui.Tree [ 78%]

... Frames No Frames TreeProperties | Methods | Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Propert...

来源: laya_api 发布时间: 20170929

78. laya.ui.UIGroup [ 78%]

...rames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box Component Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类...

来源: laya_api 发布时间: 20170929

79. laya.ui.UIGroup [ 78%]

...rames No Frames UIGroupProperties | Methods | Events Packagelaya.uiClasspublic class UIGroupInheritanceUIGroup Box UIComponent Sprite Node EventDispatcher ObjectImplements IItemSubclasses RadioGroup, Tab Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类...

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

80. laya.ui.Clip [ 78%]

... Frames No Frames ClipProperties | Methods | Events Packagelaya.uiClasspublic class ClipInheritanceClip Component Sprite Node EventDispatcher ObjectSubclasses FontClip Clip 类是位图切片动画。 Clip 可将一张图片,按横向分割数量 clipX 、竖向分割数量 clipY , 或横向...

来源: laya_api 发布时间: 20170929