Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.OdinInspector.Editor |
public static class InspectorPropertyInfoUtility
public static void BuildPropertyGroups(InspectorProperty parentProperty, Type typeOfOwner, List<InspectorPropertyInfo> rootMemberProperties, bool includeSpeciallySerializedMembers, ref Dictionary<InspectorPropertyInfo, float> groupMemberOrders)
InspectorProperty | parentProperty | |
System.Type | typeOfOwner | |
System.Collections.Generic.List<InspectorPropertyInfo> | rootMemberProperties | |
System.Boolean | includeSpeciallySerializedMembers | |
System.Collections.Generic.Dictionary<InspectorPropertyInfo, System.Single> | groupMemberOrders |
public static InspectorPropertyInfo[] BuildPropertyGroupsAndFinalize(InspectorProperty parentProperty, Type typeOfOwner, List<InspectorPropertyInfo> rootMemberProperties, bool includeSpeciallySerializedMembers)
InspectorProperty | parentProperty | |
System.Type | typeOfOwner | |
System.Collections.Generic.List<InspectorPropertyInfo> | rootMemberProperties | |
System.Boolean | includeSpeciallySerializedMembers |
InspectorPropertyInfo[] |
public static List<InspectorPropertyInfo> CreateMemberProperties(InspectorProperty parentProperty, Type type, bool includeSpeciallySerializedMembers)
InspectorProperty | parentProperty | |
System.Type | type | |
System.Boolean | includeSpeciallySerializedMembers |
System.Collections.Generic.List<InspectorPropertyInfo> |
public static InspectorPropertyInfo[] GetDefaultPropertiesForType(InspectorProperty parentProperty, Type type, bool includeSpeciallySerializedMembers)
InspectorProperty | parentProperty | The parent property. |
System.Type | type | The type to get infos for. |
System.Boolean | includeSpeciallySerializedMembers | if set to true members that are serialized by Odin will be included. |
InspectorPropertyInfo[] |
public static MemberInfo GetPrivateMemberAlias(MemberInfo member, string prefixString = null, string separatorString = null)
System.Reflection.MemberInfo | member | |
System.String | prefixString | |
System.String | separatorString |
System.Reflection.MemberInfo |
public static SerializationBackend GetSerializationBackend(InspectorProperty parentProperty, MemberInfo member)
InspectorProperty | parentProperty | |
System.Reflection.MemberInfo | member |
SerializationBackend |
public static bool InspectorPropertySupportsAssigningSceneReferences(InspectorProperty property)
InspectorProperty | property |
System.Boolean |
public static InspectorPropertyInfo[] PerformAndBakePostGroupOrdering(List<InspectorPropertyInfo> rootProperties, Dictionary<InspectorPropertyInfo, float> groupMemberOrdering = null)
System.Collections.Generic.List<InspectorPropertyInfo> | rootProperties | |
System.Collections.Generic.Dictionary<InspectorPropertyInfo, System.Single> | groupMemberOrdering |
InspectorPropertyInfo[] |
public static void ProcessAttributes(InspectorProperty parentProperty, MemberInfo member, List<Attribute> attributes)
InspectorProperty | parentProperty | |
System.Reflection.MemberInfo | member | |
System.Collections.Generic.List<System.Attribute> | attributes |
public static bool TryCreate(InspectorProperty parentProperty, MemberInfo member, bool includeSpeciallySerializedMembers, out InspectorPropertyInfo result)
InspectorProperty | parentProperty | |
System.Reflection.MemberInfo | member | |
System.Boolean | includeSpeciallySerializedMembers | |
InspectorPropertyInfo | result |
System.Boolean |
public static bool TypeDefinesShowOdinSerializedPropertiesInInspectorAttribute_Cached(Type type)
System.Type | type |
System.Boolean |