Class SerializedPass
- Namespace
- EPOOutline
- Assembly
- Assembly-CSharp-firstpass.dll
[Serializable]
public class SerializedPass : ISerializationCallbackReceiver
- Inheritance
-
SerializedPass
- Implements
-
ISerializationCallbackReceiver
- Inherited Members
-
- Extension Methods
-
Constructors
SerializedPass()
Fields
material
Field Value
- Material
propertiesById
public Dictionary<int, SerializedPass.SerializedPassProperty> propertiesById
Field Value
- Dictionary<int, SerializedPass.SerializedPassProperty>
propertiesByName
public Dictionary<string, SerializedPass.SerializedPassProperty> propertiesByName
Field Value
- Dictionary<string, SerializedPass.SerializedPassProperty>
propertiesIsDirty
public bool propertiesIsDirty
Field Value
- bool
serializedProperties
[SerializeField]
public List<SerializedPass.SerializedPropertyKeyValuePair> serializedProperties
Field Value
- List<SerializedPass.SerializedPropertyKeyValuePair>
shader
[SerializeField]
public Shader shader
Field Value
- Shader
Properties
Material
public Material Material { get; }
Property Value
- Material
Shader
public Shader Shader { get; set; }
Property Value
- Shader
Methods
GetColor(int)
public Color GetColor(int hash)
Parameters
hash
int
Returns
- Color
GetColor(string)
public Color GetColor(string name)
Parameters
name
string
Returns
- Color
GetFloat(int)
public float GetFloat(int hash)
Parameters
hash
int
Returns
- float
GetFloat(string)
public float GetFloat(string name)
Parameters
name
string
Returns
- float
GetVector(int)
public Vector4 GetVector(int hash)
Parameters
hash
int
Returns
- Vector4
GetVector(string)
public Vector4 GetVector(string name)
Parameters
name
string
Returns
- Vector4
HasProperty(int)
public bool HasProperty(int hash)
Parameters
hash
int
Returns
- bool
HasProperty(string)
public bool HasProperty(string name)
Parameters
name
string
Returns
- bool
OnAfterDeserialize()
public void OnAfterDeserialize()
OnBeforeSerialize()
public void OnBeforeSerialize()
SetColor(int, Color)
public void SetColor(int hash, Color value)
Parameters
hash
int
value
Color
SetColor(string, Color)
public void SetColor(string name, Color value)
Parameters
name
string
value
Color
SetFloat(int, float)
public void SetFloat(int hash, float value)
Parameters
hash
int
value
float
SetFloat(string, float)
public void SetFloat(string name, float value)
Parameters
name
string
value
float
SetVector(int, Vector4)
public void SetVector(int hash, Vector4 value)
Parameters
hash
int
value
Vector4
SetVector(string, Vector4)
public void SetVector(string name, Vector4 value)
Parameters
name
string
value
Vector4