Class AdditionalPropertiesState<TState, TTarget>
Used in editor drawer part to store the state of additional properties areas.
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class AdditionalPropertiesState<TState, TTarget> : AdditionalPropertiesStateBase<TState> where TState : struct, IConvertible
Type Parameters
Name | Description |
---|---|
TState | An enum to use to describe the state. |
TTarget | A type given to automatically compute the key. |
Constructors
Name | Description |
---|---|
Additional |
Constructor will create the key to store in the EditorPref the state given generic type passed. |
Fields
Name | Description |
---|---|
m_State |
Methods
Name | Description |
---|---|
Get |
Accessor to the expended state of this specific mask. |
Hide |
Utility to set all states to false |
Set |
Setter to the expended state without resetting animation. |
Show |
Utility to set all states to true |