大约有 335 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0047 秒)
Laya3.0_api(110) Laya2.0_api(67) Laya_社区(65) laya_api(61) Laya2.0_文档(16) Laya3.0_文档(14) Laya2.0_示例(1) Laya_示例(1)
...kewY skin stage staticCache stroke strokeColor templateVars text textField texture timer toolTip top transform type ubb underline underlineColor url vScrollBar vScrollBarSkin valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setSkin _setWidth addChild a...
来源: Laya3.0_api 发布时间: 20231115
...material = mat; //设置场景的反射贴图 scene.customReflection = mat.textureCube; //设置曝光强度 var exposureNumber:Number = 0; mat.exposure = 0.6 + 1; })); ..... //加载Mesh Mesh.load("res/threeDimen/staticModel/teapot/teapot-Teapot001.lm", Handler.create(null, function(mesh:Mesh):void...
来源: Laya2.0_文档 发布时间: 20210715
... BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIndex name parent srcDisplayIndex templet type Methods copy draw drawBonePoint getMatrix replaceDisplayByIndex replaceDisplayByName replaceSkin setParentMatrix showDisplayByIndex showDisplayByName showSlotData ...
来源: Laya3.0_api 发布时间: 20231115
...ype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.loader.getRes("res/en_bar.png"); break; case Hp.HP_TYPE_SPEED: texture2 = Laya.loader.getRes("res/hp_bar.pn...
来源: Laya_社区 发布时间: 20160803
...加载把302个图片资源加入到内存中,然后通过getRes 和 drawTexture 添加SPRITE对象到屏幕中。 预加载后的初始内存为29M左右 之后开始逐个添加SPRITE,在添加第1个到第80个头像的时候,内存显示稳定在29M 但是当添加第81个SPRITE头像的...
来源: Laya_社区 发布时间: 20161107
...ctors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event has...
来源: Laya3.0_api 发布时间: 20231115
...f("/"))+"/"); this.parseData(null,tSkBuffer); } __proto.parseData=function(texture,skeletonData,playbackRate){ (playbackRate===void 0)&& (playbackRate=30); if(!this._path&&this.url){ //MODIFIED:使用formatPath进行路径过滤 this._path=this.formatPath(this.url.slice(0,this.url.la...
来源: Laya_社区 发布时间: 20190419
... 45, 0), false, false); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210715
...false, false); var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(null, function(tex:Texture2D):void { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714
...ar material: Laya.BlinnPhongMaterial = new Laya.BlinnPhongMaterial(); Laya.Texture2D.load("res/layabox.png", Laya.Handler.create(null, function(tex:Laya.Texture2D) { material.albedoTexture = tex; })); box.meshRenderer.material = material; ``` #####
来源: Laya2.0_文档 发布时间: 20210714