public Texture2D OnRenderAtlas()
 {
     fastRenderer = new MB_TextureCombinerRenderTexture();
     _doRenderAtlas = true;
     Texture2D atlas = fastRenderer.DoRenderAtlas(this.gameObject,width,height,padding,rects,textureSets,indexOfTexSetToRender);
     _doRenderAtlas = false;
     return atlas;
 }
예제 #2
0
    public Texture2D OnRenderAtlas(MB3_TextureCombiner combiner)
    {
        fastRenderer   = new MB_TextureCombinerRenderTexture();
        _doRenderAtlas = true;
        Texture2D atlas = fastRenderer.DoRenderAtlas(this.gameObject, width, height, padding, rects, textureSets, indexOfTexSetToRender, texPropertyName, resultMaterialTextureBlender, isNormalMap, fixOutOfBoundsUVs, considerNonTextureProperties, combiner, LOG_LEVEL);

        _doRenderAtlas = false;
        return(atlas);
    }
예제 #3
0
    public Texture2D OnRenderAtlas()
    {
        fastRenderer   = new MB_TextureCombinerRenderTexture();
        _doRenderAtlas = true;
        Texture2D atlas = fastRenderer.DoRenderAtlas(this.gameObject, width, height, padding, rects, textureSets, indexOfTexSetToRender);

        _doRenderAtlas = false;
        return(atlas);
    }
	public Texture2D OnRenderAtlas(MB3_TextureCombiner combiner){
		fastRenderer = new MB_TextureCombinerRenderTexture();
		_doRenderAtlas = true;
		Texture2D atlas = fastRenderer.DoRenderAtlas(this.gameObject,width,height,padding,rects,textureSets,indexOfTexSetToRender, isNormalMap, fixOutOfBoundsUVs, combiner, LOG_LEVEL);
		_doRenderAtlas = false;
		return atlas;
	}