Struct EditorPrefBoolFlags<T>
Bool flag saved in EditorPref
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public struct EditorPrefBoolFlags<T> : IEquatable<T>, IEquatable<EditorPrefBoolFlags<T>> where T : struct, IConvertible
Type Parameters
Name | Description |
---|---|
T | Underlying enum type |
Constructors
Name | Description |
---|---|
Editor |
Constructor |
Properties
Methods
Name | Description |
---|---|
Equals(Editor |
Test if this EditorPrefBoolFlags is the same than the given one |
Equals(T) | Test if saved value is equal to the one given |
Has |
Test if the given flags are set |
Set |
Set or unset the flags |
Operators
Name | Description |
---|---|
operator &(Editor |
And operator between a EditorPrefBoolFlags and a value |
operator |(Editor |
Or operator between a EditorPrefBoolFlags and a value |
operator ^(Editor |
Xor operator between a EditorPrefBoolFlags and a value |
explicit operator T(Editor |
Explicit conversion operator to the underlying type |