PropertyValueEntry<TParent, TValue>

Represents the values of an InspectorProperty, and contains utilities for querying the values' type and getting and setting them.

namespace Sirenix.OdinInspector.Editor
{
public abstract class PropertyValueEntry<TParent, TValue> : PropertyValueEntry<TValue>
}

Requirements

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

See Also

Constructors

Definition Description
PropertyValueEntry() Initializes a new instance of the PropertyValueEntry<TParent, TValue> class.

Properties

Return Type Definition Description
Type ParentType The type from which this value entry comes. If this value entry represents a member value, this is the declaring type of the member. If the value entry represents a collection element, this is the type of the collection.

Methods

Return Type Definition Description
bool ApplyChanges() Applies the changes made to this value entry to the target objects, and registers prefab modifications as necessary.
Object GetActualBoxedValue(TParent) Gets the actual boxed value of the tree target.
TValue GetActualValue(TParent) Gets the actual value of the tree target.
IDictionaryHandler GetDictionaryHandler() Gets an IDictionaryHandler for this value entry, used to apply modifications and get contextual data from value entries representing a dictionary.
PropertyListValueEntryChanger GetListValueEntryChanger() Gets a PropertyListValueEntryChanger for this value entry, used to apply modifications to value entries representing a list.
Type GetMostPreciseContainedType() Determines what the most precise contained type is on this value entry.
TParent GetParent(int) Gets the parent value at the given index.
PropertyValueState GetValueState() Determines the value state of this value entry.
void Initialize() Initializes this value entry.
void UpdateValues() Updates all values in this value entry from the target tree values.