public sealed class InspectorTargetAn EditTarget whose properties are inspector fields.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
What markup binds against. A binding-path resolves through the base's Find, and the thing it hands back has to be the one an inspector row is built from — the reset button, the prefab override bar and the visibility all live on InspectorField rather than on EditProperty, and a <PropertyField> that had none of them would be visibly less than the row the generated inspector draws for the same member.
⚠ A subclass rather than a second lookup, so the caching still holds. EditTarget.TryFind keeps one binding per name precisely so a panel can subscribe to its Changed; building an InspectorField beside the cached EditProperty would give the panel an event nothing is ever raised on. That is the bug this type exists to make unavailable.
⚠ A member the descriptor did not describe falls back to the plain binding. A provider is free to answer with any IEditMember — a graph node's port, a settings file's key — and only an InspectorMember has the type default and the drawer hint an inspector row needs. Refusing would make this less capable than its base for no gain.
Fields and properties (1)
public InspectorDescriptor? DescriptorThe description the fields are built against, if the type has one.
Methods (2)
public InspectorTarget(IReadOnlyList<object> objects, EditorDocument? document = null, IPrefabSource? prefab = null, IEditProvider? provider = null)Binds a selection through the described-type provider.
protected override EditProperty Create(IEditMember member)Makes the binding for one member.
Used by (3)
- BrushInspectorMarkupTestsVixen.Editor.Terrain.Tests
- InspectorViewVixen.Editor.Inspector
- MarkupBindingTestsVixen.Editor.Inspector.Tests