Table of Contents

Method SetDirty

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

SetDirty(DirtyFlags)

Mark this data as dirty (modified) for asset file saving as well as performing related actions after modification. For example, SetDirty(DirtyFlags.Geometry) -> terrain object will also regenerate surface meshes.

public void SetDirty(GTerrainData.DirtyFlags flag)

Parameters

flag GTerrainData.DirtyFlags

Indicate what's changed, use the bitwise OR if many things have changed.