void LoadAll()

robot_2Generated
code_blocksInput

Description

The LoadAll method is responsible for loading all available brushes into the BrushList. This method populates the Brushes field with instances of Brush that can be used within the terrain editor.

Usage

Call the LoadAll method when you need to initialize or refresh the list of brushes available in the terrain editor. This is typically done during the setup phase of the editor or when the list of brushes needs to be updated.

Example

// Create an instance of BrushList
BrushList brushList = new BrushList();

// Load all available brushes
brushList.LoadAll();

// Access the loaded brushes
foreach (var brush in brushList.Brushes)
{
    // Use the brush
    // Example: Console.WriteLine(brush.Name);
}