Table of Contents

Class UniformConfigurationCollectionEditor

Namespace
Bonsai.Shaders.Configuration.Design
Assembly
Bonsai.Shaders.Design.dll

Provides a user interface editor that displays a dialog for editing a collection of shader uniform configuration objects.

public class UniformConfigurationCollectionEditor : CollectionEditor
Inheritance
UniformConfigurationCollectionEditor
Inherited Members

Constructors

UniformConfigurationCollectionEditor(Type)

Initializes a new instance of the UniformConfigurationCollectionEditor class using the specified collection type.

public UniformConfigurationCollectionEditor(Type type)

Parameters

type Type

The type of the collection for this editor to edit.

Methods

CreateNewItemTypes()

Gets the available types of items that can be created for this collection.

protected override Type[] CreateNewItemTypes()

Returns

Type[]

An array of types that this collection can contain.

GetDisplayText(object)

Retrieves the display text for the specified collection item.

protected override string GetDisplayText(object value)

Parameters

value object

The collection item for which to retrieve display text.

Returns

string

The display text for the specified item value.