大约有 296 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
Laya3.0_api(113) Laya2.0_api(71) laya_api(69) Laya3.0_文档(32) Laya_社区(8) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...erial _getNumber(shaderIndex:int):* 获取浮点。 BaseMaterial _getTexture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial...
来源: laya_api 发布时间: 20170929
...) export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https://layaair.com/3.x/demo/resources/res/apes/monkey2.png"); } /**加载并显示图片 */ loadTexture(url: strin...
来源: Laya3.0_文档 发布时间: 20251010
...目发布为微信小游戏,预制体被忽略上传怎么办? 请问Texture2D如何用base64字符串构建对象 TiledMap创建地图在LayaAir中显示不完全 laya里面有没有通过一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 La...
来源: Laya_社区 发布时间: 20170215
... SHADERDEFINE_ADDTIVEFOG : int[static] TrailMaterial SHADERDEFINE_MAINTEXTURE : int[static] TrailMaterial SHADERDEFINE_TILINGOFFSET : int[static] TrailMaterial texture : BaseTexture 获取贴图。 TrailMaterial tilingOffset : Vector4 获取纹理平铺和偏移。 TrailMaterial tili...
来源: Laya2.0_api 发布时间: 20190513
... SHADERDEFINE_ADDTIVEFOG : int[static] EffectMaterial SHADERDEFINE_MAINTEXTURE : int[static] EffectMaterial SHADERDEFINE_TILINGOFFSET : int[static] EffectMaterial texture : BaseTexture 获取贴图。 EffectMaterial tilingOffset : Vector4 获取纹理平铺和偏移。 EffectMaterial ...
来源: Laya2.0_api 发布时间: 20190513
...接在unity添加相同材质显然不会出现这种情况) Laya.Texture2D.load("res/skin/2.jpg",new Laya.Handler(this,this.loadfinish));//加载贴图 loadfinish(tex){ var mat=new Laya.UnlitMaterial();//创建材质 mat.albedoTexture=tex;//给材质添加贴图 //mat.albedoColorA = 0.5; //...
来源: Laya_社区 发布时间: 20200626
...terial SHADERDEFINE_TINTCOLOR : int[static] ShurikenParticleMaterial texture : BaseTexture 获取漫反射贴图。 ShurikenParticleMaterial tilingOffset : Vector4 获取纹理平铺和偏移。 ShurikenParticleMaterial tilingOffsetW : Number 获取纹理平铺和偏移W分量。 Shurike...
来源: Laya2.0_api 发布时间: 20190513
... // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x,data.tower[towerLel].y,data.tower[towerLel].w,data.tower[towerLel].h); var tAeroboat = Texture.create(t,data.aeroboat[aeroboatLel].x , da...
来源: Laya_社区 发布时间: 20170720
...Color:* = null, lineWidth:Number = 1):void 绘制矩形。 Graphics drawTexture(tex:Texture, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, m:Matrix = null, alpha:Number = 1):Array 绘制纹理。 Graphics drawTextures(tex:Texture, pos:Array):void 批量绘制同样纹理。 ...
来源: laya_api 发布时间: 20170929
...hArr rate skinDataArray skinDic skinSlotDisplayDataArr srcBoneMatrixArr subTextureDic tfArr url uuid yReverseMatrix DEBUG interpolation Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _parse _removeReference _setCPUMemory _...
来源: Laya3.0_api 发布时间: 20231115