Texture.filterMode 过滤模式

var filterMode : FilterMode

Description描述

Filtering mode of the texture.

贴图的过滤模式

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		renderer.material.mainTexture.filterMode = FilterMode.Trilinear;
	}
}
renderer.material.mainTexture.filterMode = FilterMode.Trilinear;

参见: FilterMode

Page last updated: 2012-4-12