大约有 204 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0040 秒)
Laya_社区(62) Laya3.0_api(60) Laya_示例(29) laya_api(14) Laya2.0_文档(11) Laya2.0_api(10) Laya3.0_文档(9) Laya2.0_示例(9)
...de = 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.Sprite3D, priority: 1 } ]; Laya.loa...
来源: Laya_示例 发布时间: 20240930
...null; if(((Loader.loadedMap[i])instanceof laya.resource.Texture )){ t=Loader.loadedMap[i]; t.destroy(); } delete Loader.loadedMap[i]; ...
来源: Laya_社区 发布时间: 20170113
....Stage; import laya.events.Event; import laya.maths.Rectangle; import laya.resource.Texture; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class Interaction_Drag { private const ApePath:String = "../../res/apes/monkey2.png"; private var ape:Sprite; private var...
来源: Laya2.0_示例 发布时间: 20240930
...lClasspublic class TrailMaterialInheritanceTrailMaterial BaseMaterial laya.resource.Resource TrailMaterial 类用于实现拖尾材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMater...
来源: Laya2.0_api 发布时间: 20190513
...lasspublic class EffectMaterialInheritanceEffectMaterial BaseMaterial laya.resource.Resource EffectMaterial 类用于实现Mesh特效材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 Base...
来源: Laya2.0_api 发布时间: 20190513
....loadImage("comp/bg.png",0,0,0,0,Handler.create(this,function(texture:laya.resource.Texture){ sprite.graphics.clear(); sprite.graphics.drawTexture(texture,0,0,50,50); sprite.autoSize = true; })); Laya.stage.addChild(sprite); 或者用Image: var image:laya....
来源: Laya_社区 发布时间: 20160711
... laya.display.Sprite import Loader = laya.net.Loader import Texture = laya.resource.Texture import Handler = laya.utils.Handler import Browser = laya.utils.Browser import TiledMap = laya.map.TiledMap import Rectangle = laya.maths.Rectangle import Stat = laya.utils.Stat import TextFiled = laya.displa...
来源: Laya_社区 发布时间: 20180116
...据是在图片的前面写入了四个字节的数据 Laya.loader.fetch("resources/res/test.bin","arraybuffer").then((res)=>{ //获得res的ArrayBuffer数据 let arraybuffer: ArrayBuffer = res; //Byte数组接收arraybuffer let byte:Byte = new Byte(arraybuffer); //从第四个字节开始读取...
来源: Laya3.0_文档 发布时间: 20230303
...rikenParticleMaterialInheritanceShurikenParticleMaterial BaseMaterial laya.resource.Resource ShurikenParticleMaterial 类用于实现粒子材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪...
来源: Laya2.0_api 发布时间: 20190513
... package { import laya.display.Sprite; import laya.net.Loader; import laya.resource.Texture; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Demo { private var num:Number=0;//加载图片的个数 private var sp:Sprite;//显示图片的显示对象容器 priv...
来源: Laya_社区 发布时间: 20161107