ドキュメント

Unity Engine

Unity Engine

Create(Terrain, Vector2)

Initializes and returns a scattering context object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static PaintTreesDetailsContext Create(Terrain terrain, Vector2 uv)

Parameters

terrain

The Terrain object.

The current UV position on the terrain.

Returns

Type

Description

PaintTreesDetailsContextReturns an object representing the scattering context information.

Remarks

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