Filtering mode of the texture.
renderer.material.mainTexture.filterMode = FilterMode.Trilinear;
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { renderer.material.mainTexture.filterMode = FilterMode.Trilinear; } }
import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): def Example() as void: renderer.material.mainTexture.filterMode = FilterMode.Trilinear
See Also: FilterMode, texture assets.