Table of Contents

Method SetGrassRegionDirty

Namespace
Pinwheel.Griffin
Assembly
Pinwheel.Polaris.Runtime.dll

SetGrassRegionDirty(Rect)

Mark all grass in this region as modified to perform related actions such as grass snapping. You should call this function after modifying the grass list or terrain geometry.

public void SetGrassRegionDirty(Rect uvRect)

Parameters

uvRect Rect

A rect in [0-1] space indicate the modified region.