Highroad Engine v1.3
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
MoreMountains.Tools.ShaderControllerEditor Class Reference

Custom editor for the ShaderController, conditional hiding More...

Inheritance diagram for MoreMountains.Tools.ShaderControllerEditor:

Public Member Functions

override bool RequiresConstantRepaint ()
 
override void OnInspectorGUI ()
 Draws a conditional inspector More...
 

Protected Member Functions

virtual void OnEnable ()
 On enable we grab our properties More...
 
virtual void DrawLevelProgressBar (Rect position, float level, Color frontColor, Color negativeColor)
 

Protected Attributes

SerializedProperty _TargetRenderer
 
SerializedProperty _Curve
 
SerializedProperty _MinValue
 
SerializedProperty _MaxValue
 
SerializedProperty _Duration
 
SerializedProperty _PingPongPauseDuration
 
SerializedProperty _Amplitude
 
SerializedProperty _Frequency
 
SerializedProperty _Shift
 
SerializedProperty _RemapNoiseValues
 
SerializedProperty _RemapNoiseZero
 
SerializedProperty _RemapNoiseOne
 
SerializedProperty _OneTimeDuration
 
SerializedProperty _OneTimeAmplitude
 
SerializedProperty _OneTimeRemapMin
 
SerializedProperty _OneTimeRemapMax
 
SerializedProperty _OneTimeCurve
 
SerializedProperty _OneTimeButton
 
SerializedProperty _DisableAfterOneTime
 
SerializedProperty _DisableGameObjectAfterOneTime
 
SerializedProperty _DrivenLevel
 
SerializedProperty _AudioAnalyzer
 
SerializedProperty _BeatID
 
SerializedProperty _AudioAnalyzerMultiplier
 
SerializedProperty _AudioAnalyzerOffset
 
SerializedProperty _AudioAnalyzerLerp
 
SerializedProperty _ToDestinationValue
 
SerializedProperty _ToDestinationDuration
 
SerializedProperty _ToDestinationCurve
 
SerializedProperty _ToDestinationButton
 
SerializedProperty _DisableAfterToDestination
 
SerializedProperty _InitialValue
 
SerializedProperty _CurrentValue
 
SerializedProperty _CurrentValueNormalized
 
SerializedProperty _InitialColor
 
SerializedProperty _PropertyID
 
SerializedProperty _PropertyFound
 
SerializedProperty _TargetMaterial
 
SerializedProperty _FromColor
 
SerializedProperty _ToColor
 
Rect _barRect
 
Color _mmYellow = new Color(1f, 0.7686275f, 0f)
 
Color _mmRed = MMColors.Orangered
 
Color _progressBarBackground = new Color(0, 0, 0, 0.5f)
 

Static Protected Attributes

const int _lineHeight = 20
 
const int _lineMargin = 2
 
const int _numberOfLines = 1
 

Detailed Description

Custom editor for the ShaderController, conditional hiding

Member Function Documentation

◆ DrawLevelProgressBar()

virtual void MoreMountains.Tools.ShaderControllerEditor.DrawLevelProgressBar ( Rect  position,
float  level,
Color  frontColor,
Color  negativeColor 
)
protectedvirtual

◆ OnEnable()

virtual void MoreMountains.Tools.ShaderControllerEditor.OnEnable ( )
protectedvirtual

On enable we grab our properties

◆ OnInspectorGUI()

override void MoreMountains.Tools.ShaderControllerEditor.OnInspectorGUI ( )

Draws a conditional inspector

◆ RequiresConstantRepaint()

override bool MoreMountains.Tools.ShaderControllerEditor.RequiresConstantRepaint ( )

Member Data Documentation

◆ _Amplitude

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._Amplitude
protected

◆ _AudioAnalyzer

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._AudioAnalyzer
protected

◆ _AudioAnalyzerLerp

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._AudioAnalyzerLerp
protected

◆ _AudioAnalyzerMultiplier

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._AudioAnalyzerMultiplier
protected

◆ _AudioAnalyzerOffset

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._AudioAnalyzerOffset
protected

◆ _barRect

Rect MoreMountains.Tools.ShaderControllerEditor._barRect
protected

◆ _BeatID

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._BeatID
protected

◆ _CurrentValue

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._CurrentValue
protected

◆ _CurrentValueNormalized

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._CurrentValueNormalized
protected

◆ _Curve

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._Curve
protected

◆ _DisableAfterOneTime

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._DisableAfterOneTime
protected

◆ _DisableAfterToDestination

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._DisableAfterToDestination
protected

◆ _DisableGameObjectAfterOneTime

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._DisableGameObjectAfterOneTime
protected

◆ _DrivenLevel

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._DrivenLevel
protected

◆ _Duration

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._Duration
protected

◆ _Frequency

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._Frequency
protected

◆ _FromColor

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._FromColor
protected

◆ _InitialColor

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._InitialColor
protected

◆ _InitialValue

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._InitialValue
protected

◆ _lineHeight

const int MoreMountains.Tools.ShaderControllerEditor._lineHeight = 20
staticprotected

◆ _lineMargin

const int MoreMountains.Tools.ShaderControllerEditor._lineMargin = 2
staticprotected

◆ _MaxValue

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._MaxValue
protected

◆ _MinValue

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._MinValue
protected

◆ _mmRed

Color MoreMountains.Tools.ShaderControllerEditor._mmRed = MMColors.Orangered
protected

◆ _mmYellow

Color MoreMountains.Tools.ShaderControllerEditor._mmYellow = new Color(1f, 0.7686275f, 0f)
protected

◆ _numberOfLines

const int MoreMountains.Tools.ShaderControllerEditor._numberOfLines = 1
staticprotected

◆ _OneTimeAmplitude

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeAmplitude
protected

◆ _OneTimeButton

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeButton
protected

◆ _OneTimeCurve

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeCurve
protected

◆ _OneTimeDuration

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeDuration
protected

◆ _OneTimeRemapMax

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeRemapMax
protected

◆ _OneTimeRemapMin

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._OneTimeRemapMin
protected

◆ _PingPongPauseDuration

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._PingPongPauseDuration
protected

◆ _progressBarBackground

Color MoreMountains.Tools.ShaderControllerEditor._progressBarBackground = new Color(0, 0, 0, 0.5f)
protected

◆ _PropertyFound

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._PropertyFound
protected

◆ _PropertyID

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._PropertyID
protected

◆ _RemapNoiseOne

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._RemapNoiseOne
protected

◆ _RemapNoiseValues

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._RemapNoiseValues
protected

◆ _RemapNoiseZero

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._RemapNoiseZero
protected

◆ _Shift

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._Shift
protected

◆ _TargetMaterial

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._TargetMaterial
protected

◆ _TargetRenderer

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._TargetRenderer
protected

◆ _ToColor

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._ToColor
protected

◆ _ToDestinationButton

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._ToDestinationButton
protected

◆ _ToDestinationCurve

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._ToDestinationCurve
protected

◆ _ToDestinationDuration

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._ToDestinationDuration
protected

◆ _ToDestinationValue

SerializedProperty MoreMountains.Tools.ShaderControllerEditor._ToDestinationValue
protected

The documentation for this class was generated from the following file: