大约有 725 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0051 秒)
Laya_社区(261) Laya2.0_api(166) laya_api(138) Laya_示例(61) Laya2.0_示例(53) Laya2.0_文档(28) Laya3.0_api(9) Laya3.0_文档(9)
...e laya.resource.ResourcePublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By defaulteTexture : BaseTexture[override] [read-only] 获取纹理资源。 TextureCube format : int[read-only] 纹理格式 BaseTexture height : int[read-only] 获取...
来源: laya_api 发布时间: 20170929
...ee alsolaya.display.TextPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node align : String 表示文本的水平显...
来源: Laya2.0_api 发布时间: 20190513
...Laya.stage.frameRate = "slow"; 帧率统计面板不显示。 Laya.Stat.show(); 2019-08-21 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Aaron 赞同来自: 引擎初始化之前 加Config.preserveDraw...
来源: Laya_社区 发布时间: 20190821
...L); Laya.stage.bgColor = "#232628"; Laya.timer.once(500,this,onLoop); Stat.show(); } private function onLoop():void { __JS__('var LayaCanvas1=document.getElementsByTagName("canvas")[0]'); __JS__('var LayaCanvas2=document.getElementsByTagName("canvas")[1]'); __JS__('var LayaContainer=document.getElem...
来源: Laya_社区 发布时间: 20170421
...e alsolaya.ui.AutoBitmapPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY ...
来源: laya_api 发布时间: 20170929
...ollBarlaya.ui.HScrollBarPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默...
来源: Laya2.0_api 发布时间: 20190513
...ar sp:Sprite; public function HtmlDemo() { Laya.init(800, 480,WebGL); Stat.show(); sp=new Sprite(); sp.loadImage("background.jpg"); Laya.stage.addChild(sp); Laya.stage.on(Event.CLICK,this,onClick); function onClick():void { // TODO Auto Generated method stub Laya.stage.off(Event.CLICK,this,onClick);...
来源: Laya_社区 发布时间: 20160905
...tage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/ColliderScene/ColliderDemo.ls", clas: Laya.Scene, priority: 1 }, { url: "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", clas: Laya...
来源: Laya_示例 发布时间: 20260106
...rawingBuffer=true; Laya.init(innerWidth,innerHeight,Laya.WebGL); Laya.Stat.show(0,0); Laya.stage.frameRate="slow"; Laya.stage.scaleMode=Laya.Stage.SCALE_FULL; Laya.stage.bgColor="#444"; var sprite=new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.loadImage("img/bg.jpg"); } start(); 附件 : -->...
来源: Laya_社区 发布时间: 20200507
...容的加载进度。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : ...
来源: laya_api 发布时间: 20170929