기술 자료

Unity Engine

Unity Engine

OnRenderBrushPreview(Terrain, IOnSceneGUI)

Use this method to implement custom tool preview and UI behavior that only renders while the mouse is within the SceneView bounds or while you're actively using this tool.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public virtual void OnRenderBrushPreview(Terrain terrain, IOnSceneGUI editContext)

Parameters

terrain

Active Terrain object.

editContext

Interface used to communicate between Editor and Paint tools.