Vixen
02b45cc4
csharp
public enum TypeTraits

What an annotation says a type is for.

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

Remarks

Flags rather than an enum, because one type is routinely several of these: a component that is also a data contract and also appears in the inspector is the ordinary case, not the exception.

Fields and properties (5)

  • None

    Nothing.

  • DataContract

    Carries [DataContract]: it can be serialised.

  • Component

    Carries [Component]: the ECS can attach it to an entity.

  • EditorVisible

    Carries [EditorVisible]: the inspector shows it.

  • Abstract

    An abstract type or an interface — a base to look up, never a thing to construct.

Used by (8)

  • MaterialHelloUi
  • TypeRegistrationThirdPersonShooter
  • NestedMemberTestsVixen.Ui.Controls.Advanced.Tests
  • PropertyGridTestsVixen.Ui.Controls.Advanced.Tests
  • TypeDescriptorVixen.Core.Reflection
  • TypeRegistryVixen.Core.Reflection
  • TypeRegistryTestsVixen.Core.Reflection.Tests
  • ReflectedTypesVixen.Editor.Scripts