IPropertyValueCollection<T>

Represents a strongly typed collection of values for a PropertyValueEntry<TValue> - one value per selected inspector target.

namespace Sirenix.OdinInspector.Editor
{
[DefaultMemberAttribute("Item")]
public interface IPropertyValueCollection<T> : IPropertyValueCollection, IList<T>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 1.0.6.1

Properties

Return Type Definition Description
int Count The number of values in the collection.
T Item Gets the value at the given selection index.
IImmutableList<T> Original The original values of the value collection, such as they were immediately after the last Update() call.

Methods

Return Type Definition Description
void ForceSetValue(int, T)

Force sets the value, ignoring whether it is editable or not.

Note that this will fail on list element value entries where ListIsReadOnly() is true on the parent value entry.