Class AdditionalPropertiesStateBase<TState>
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 abstract class AdditionalPropertiesStateBase<TState> where TState : struct, IConvertible
Type Parameters
Name | Description |
---|---|
TState | An enum to use to describe the state. |
Properties
Name | Description |
---|---|
this[TState] | Get or set the state given the mask. |
Methods
Name | Description |
---|---|
GetAdditionalPropertiesState(TState) | Accessor to the expended state of this specific mask. |
HideAll() | Utility to set all states to false |
RegisterEditor(Editor) | Register an editor for this set of additional properties. |
ResetAnimation(TState) | |
SetAdditionalPropertiesState(TState, bool) | Setter to the expended state. |
SetAdditionalPropertiesStateValue(TState, bool) | Setter to the expended state without resetting animation. |
ShowAll() | Utility to set all states to true |
UnregisterEditor(Editor) | Unregister an editor for this set of additional properties. |