大约有 386 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0080 秒)
...自: 问题描述: 我在你们官网的引擎示例里的骨骼动画--多纹理,执行下面的测试代码,测试代码是改的示例代码,第一次点击屏幕播放没问题,播放完后Skeleton放入对象池, 第二次点击屏幕使用对象池里的Skeleton播放,就报错了...
来源: Laya_社区 发布时间: 20181120
...取浮点。 BaseMaterial _getTexture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial _setBool(shaderIndex:int, b:Boolean):void 设...
来源: laya_api 发布时间: 20170603
...s("res/heightMap.png") as Texture2D; //通过高度图纹理和最大高度最小高度生成MeshTerrainSprite3D var terrainSprite:MeshTerrainSprite3D = MeshTerrainSprite3D.createFromMeshAndHeightMap(meshSprite3D.meshFilter.sharedMesh as Mesh, texture, minHe...
来源: Laya_社区 发布时间: 20170505
...取浮点。 BaseMaterial _getTexture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial _removeShaderDefine(value:int):void 移除Shade...
来源: laya_api 发布时间: 20170929
...取浮点。 BaseMaterial _getTexture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial _removeShaderDefine(value:int):void 移除Shade...
来源: laya_api 发布时间: 20170929
...{ planeMat.albedoTexture = tex; })); //设置纹理平铺和偏移 var tilingOffset = planeMat.tilingOffset; tilingOffset.setValue(5, 5, 0, 0); planeMat.tilingOffset = tilingOffset; //设置材质 plane.meshRenderer.materi...
来源: Laya_社区 发布时间: 20210103
...取浮点。 BaseMaterial _getTexture(shaderIndex:int):BaseTexture 获取纹理。 BaseMaterial _getVector2(shaderIndex:int):* 获取二维向量。 BaseMaterial _removeDisablePublicShaderDefine(value:int):void 移除禁用宏定义。 BaseMaterial _removeShaderDefine(value:int):void 移除Shade...
来源: laya_api 发布时间: 20170929
... PixelParams pixel; getPixelParams(pixel); //纹理剔除 #ifdef SLICE #ifdef UV vec2 uv = pixel.uv0; #else // UV vec2 uv = vec2(0.0); #endif // UV ...
来源: Laya_社区 发布时间: 20250428
...架 分享:打地鼠 AS、JS、TS版本 Demo! layabox3.07版本使用纹理压缩色彩很大 layaair3.1.3版本打出的项目中的text与label组件在vivo小游戏引擎1105及以下文字显示异常 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 使用谷歌c...
来源: Laya_社区 发布时间: 20190225
...出来 (function(){ /** * 地板类 */ function Floor(){ //背景贴图纹理 this.bgTexture = null; //最大右边距离 this.maxRight = 0; //判断是否超过右边最大距离了 this.isOutComplete = false; //背景 this.bg = null; //背景右边补丁 this.rightBg = null; //当前地板上面...
来源: Laya_社区 发布时间: 20160803