大约有 1,084 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0227 秒)
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115
...置 textInput 的高度。 Laya.stage.addChild(textInput);//将 textInput 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler.create(this, onL...
来源: Laya3.0_api 发布时间: 20231115
.../设置 textArea 的高度。 Laya.stage.addChild(textArea);//将 textArea 添加到显示列表。 } } } example Laya.init(640, 800);//设置游戏画布宽高、渲染模式 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色 Laya.loader.load(["resource/ui/input.png"], laya.utils.Handler....
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Video(width:int = 320, height:int = 240)Video addChild(node:Node):Node 添加子节点。 Node addChil...
来源: Laya2.0_api 发布时间: 20190513
...y();//播放动画。 Laya.stage.addChild(animation);//将 animation 对象添加到显示列表。 } } } example Animation_Example(); function Animation_Example(){ Laya.init(640, 800);//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init()...
来源: Laya3.0_api 发布时间: 20231115
...ight = 100;//设置 tree 的高度。 Laya.stage.addChild(tree);//将 tree 添加到显示列表。 } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Cli...
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Particle2D(setting:ParticleSetting) 创建一个新的 Particle2D 类实例。 Particle2D addChild(node...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Scene3D() 创建一个 Scene3D 实例。 Scene3D _parse(data:Object, spriteMap:Object):void[override]...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Particle2D(setting:ParticleSetting) 创建一个新的 Particle2D 类实例。 Particle2D addChild(node...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By PerfHUD()PerfHUD addChild(node:Node):Node 添加子节点。 Node addChildAt(node:Node, index:int):Nod...
来源: Laya2.0_api 发布时间: 20190513