Home
Manual
Reference
Scripting
Scripting Reference
MaterialEditor
.SetFloat
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
SetFloat (propertyName :
String
, value :
float
) :
void
Parameters
Name
Description
propertyName
Name of the float property.
value
Float to set.
Description
Set the value of a given float property.