기술 자료

Unity Engine

Unity Engine

Create(Terrain, Vector2)

Initializes and returns a scattering context object.
읽는 시간 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.