Vixen
02b45cc4
csharp
public delegate MemberReference<in TOwner, TValue>

Reads a member of by reference.

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

Remarks

What makes a struct member editable without boxing: the generator emits static (Foo o) => ref o.Tint, so a drawer writing one channel of a colour writes the colour that is on the object rather than a box that nothing holds. This is the difference between this assembly and Vixen.Core.Reflection's descriptors, whose accessors pass values as Object and therefore cannot.

Used by (1)

  • InspectorMemberVixen.Editor.Inspector