Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Parameters

terrain The Terrain object.
uv The current UV position on the terrain.

Returns

PaintTreesDetailsContext Returns an object representing the scattering context information.

Description

Initializes and returns a scattering context object.

Use this method to create a PaintTreesDetailsContext object. Use this object to track neighboring terrains and their UVs.

Additional resources: PaintDetailsToolUtility.FindDetailPrototype