28 lines
659 B
C#
28 lines
659 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using FlaxEngine;
|
|
|
|
namespace Game
|
|
{
|
|
/// <summary>
|
|
/// List of supported materials for loaded levels.
|
|
/// Maps the given texture/shader name to Flax Material/MaterialInstance.
|
|
/// </summary>
|
|
public class BrushMaterialList
|
|
{
|
|
[EditorDisplay(name: "Material Assets")]
|
|
public BrushMaterialListEntry[] materialAssets;
|
|
}
|
|
|
|
public struct BrushMaterialListEntry
|
|
{
|
|
[EditorOrder(1)]
|
|
[EditorDisplay(name: "Name")]
|
|
public string name;
|
|
|
|
[EditorOrder(2)]
|
|
[EditorDisplay(name: "Material")]
|
|
public MaterialBase asset;
|
|
}
|
|
}
|