大约有 2,994 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0083 秒)
Laya_社区(2435) Laya2.0_文档(172) Laya3.0_api(101) Laya_示例(79) Laya3.0_文档(70) Laya2.0_api(55) laya_api(42) Laya2.0_示例(40)
...系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D loaded : Boolean[read-only] 获取是否已加载完成。 Sprite3D name : String节点名称。Node nearPlane : Number 获取近裁面。 BaseCamera needViewport : Boolean[read-only] Camera normalizedViewport : Viewpo...
来源: laya_api 发布时间: 20170929
... this.__bind.y=Laya.stage.height*0.5; this.__bind.load(GamePath.single.getSpinePath("tank_blue.sk"),Laya.Handler.create(this,this.testLoadComplete)); } private __bind:BindSkeleton; private testLoadComplete():void{ let source:BindSour...
来源: Laya_社区 发布时间: 20190805
...TextureCubeByScene drawTextureCubePixelByScene getTexturePixel instantiate load Constructors constructor new WebXRCamera(aspectRatio?: number, nearPlane?: number, farPlane?: number): WebXRCamera Inherited from Camera.constructor Overrides BaseCamera.constructor Defined in laya/d3/core/Camera.ts:659 ...
来源: Laya3.0_api 发布时间: 20231115
...Laya.MiniAdpter.init(true, true); //程序入口 Laya.init(750, 1334); onLoaded(); /* //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/c...
来源: Laya_社区 发布时间: 20180507
...效会掉色,掉成雾效颜色 微信小游戏兼容性bug 部分机型load场景不显示 Morn UI中的Label文字颜色显示不正确 问题状态 最新活动: 2018-07-03 16:45 浏览: 1539 关注: 4 人 jzhlaya • 2018-02-08 15:29 我认为不是兼容性问题,因为我的vivo x5在提...
来源: Laya_社区 发布时间: 20180103
...tor3 setVector3ByIndex setVector4 setVector4ByIndex destroyUnusedResources load Constructors constructor new Material(): Material Overrides Resource.__constructor Defined in laya/d3/core/material/Material.ts:448 创建一个 Material 实例。 Returns Material Properties _id _id: number = 0 Inherite...
来源: Laya3.0_api 发布时间: 20231115
...w(); } private _initView():void { let sprite:Sprite = new Sprite(); sprite.loadImage("res/scene/1001/layer1/qiang.jpg", 100, 100, 100, 100); this.addChild(sprite); sprite = new Sprite(); sprite.graphics.drawCircle(100, 500, 50, "#0000ff"); //sprite.graphics.scale(2, 2); this.addChild(sprite); sprite...
来源: Laya_社区 发布时间: 20180308
...HOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //加载资源 Laya.loader.load([buttonSkin, clipSkin, bgSkin], laya.utils.Handler.create(this,onSkinLoaded)); } /***加载资源完成***/ private function onSkinLoaded(e:*=null):void { //显示背景图 showBg(); //创建计数器 createCounte...
来源: Laya2.0_文档 发布时间: 20210714
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let tabA: Laya.Tab = this.createTab(this.skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#33...
来源: Laya3.0_文档 发布时间: 20251010
...颜色 Laya.stage.bgColor = "#ffffff"; //加载资源成功后,执行onLoaded回调方法 Laya.loader.load([this.skin1,this.skin2],Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个CheckBox实例cb1 var cb1:Laya.CheckBox = new Laya.CheckBox(this.skin1); //添加到...
来源: Laya2.0_文档 发布时间: 20210715