Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


smoothness

The smoothness value of the splat layer when the main texture has no alpha channel.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TerrainModule
Warning
Deprecated. SplatPrototype is obsolete. Use TerrainLayer instead.
public float smoothness { get; set; }

Remarks

This is only applicable when using the built-in standard material for terrain.
Valid range is 0.0f to 1.0f.