Home
Manual
Reference
Scripting
Scripting Reference
MaterialEditor
.SetColor
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Attributes
Enumerations
History
Index
MaterialEditor
All Members
Variables
isVisible
Functions
Awake
ColorProperty
FloatProperty
GetColor
GetFloat
GetTexture
GetTextureOffset
GetTextureScale
GetVector
OnDisable
OnEnable
PropertiesChanged
PropertiesGUI
RangeProperty
RegisterPropertyChangeUndo
SetColor
SetFloat
SetShader
SetTexture
SetTextureOffset
SetTextureScale
SetVector
ShaderProperty
TextureProperty
UndoRedoPerformed
VectorProperty
Inherited Variables
hideFlags
name
serializedObject
target
targets
Inherited Functions
DrawDefaultInspector
GetInfoString
GetInstanceID
GetPreviewTitle
HasPreviewGUI
OnInspectorGUI
OnInteractivePreviewGUI
OnPreviewGUI
OnPreviewSettings
RenderStaticPreview
Repaint
ToString
Inherited Class Functions
CreateEditor
CreateInstance
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
operator !=
operator ==
operator bool
function
SetColor (propertyName :
String
, value :
Color
) :
void
Parameters
Name
Description
propertyName
Name of the color property.
value
Color to set.
Description
Set the value of a given texture property.