Vixen
02b45cc4
csharp
public interface IEditorProperty

One editable value, without knowing what type it holds.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

What a generic inspector, a property-search box or a copy-paste-property command sees. Reading through BoxedValue costs an allocation for a struct, which is why it is the un-generic path and not the one a drawer generated for a known type takes.

Fields and properties (4)

  • string Name

    What the member is called.

  • Type ValueType

    What it holds.

  • EditorObject Owner

    The object it belongs to.

  • object? BoxedValue

    The current value, boxed. Records a dependency like any other read.

Used by (3)

  • EditorDocumentTestsVixen.Editor.Core.Tests
  • EditorObjectVixen.Editor.Core
  • EditorPropertyVixen.Editor.Core