PaintTreesDetailsContext.Create

Declaration

public static TerrainTools.PaintTreesDetailsContext Create(Terrain terrain, Vector2 uv);

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


Did you find this page useful? Please give it a rating: