![]() |
Falco Engine 3.9.0.1 (beta)
|
Public Member Functions | |
| Material (string name) | |
| Create a new material and set its name More... | |
| void | GetParameter (string name, out Matrix3 matrix) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Matrix4 matrix) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Vector2 vector2) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Vector3 vector3) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Vector4 vector4) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out float flt) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out int val) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out bool val) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Color color) |
| Get value of the parameter More... | |
| void | GetParameter (string name, out Texture texture) |
| Get value of the parameter More... | |
| T | GetParameter< T > (string name) |
| Get value of the parameter More... | |
| void | SetParameter (string name, Matrix3 matrix) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Matrix4 matrix) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Vector2 vector2) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Vector3 vector3) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Vector4 vector4) |
| Set value of the parameter More... | |
| void | SetParameter (string name, float flt) |
| Set value of the parameter More... | |
| void | SetParameter (string name, int val) |
| Set value of the parameter More... | |
| void | SetParameter (string name, bool val) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Color color) |
| Set value of the parameter More... | |
| void | SetParameter (string name, Texture texture) |
| Set value of the parameter More... | |
Static Public Member Functions | |
| static Material | Load (string name) |
| Load existing material More... | |
Properties | |
| Shader | shader [getset] |
| Get or set a shader for this material More... | |
Properties inherited from FalcoEngine.Asset | |
| string | name [get] |
| Get asset name More... | |
Definition at line 7 of file Material.cs.
| FalcoEngine.Material.Material | ( | string | name | ) |
Create a new material and set its name
| name | Name for the new material |
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out bool | val | ||
| ) |
Get value of the parameter
| name | Parameter name |
| val | Boolean value |
Definition at line 110 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Color | color | ||
| ) |
Get value of the parameter
| name | Parameter name |
| color | Color value |
Definition at line 120 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out float | flt | ||
| ) |
Get value of the parameter
| name | Parameter name |
| flt | Float value |
Definition at line 90 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out int | val | ||
| ) |
Get value of the parameter
| name | Parameter name |
| val | Int value |
Definition at line 100 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Matrix3 | matrix | ||
| ) |
Get value of the parameter
| name | Parameter name |
| matrix | Matrix3 value |
Definition at line 40 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Matrix4 | matrix | ||
| ) |
Get value of the parameter
| name | Parameter name |
| matrix | Matrix4 value |
Definition at line 50 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Texture | texture | ||
| ) |
Get value of the parameter
| name | Parameter name |
| texture | Texture value |
Definition at line 130 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Vector2 | vector2 | ||
| ) |
Get value of the parameter
| name | Parameter name |
| vector2 | Vector2 value |
Definition at line 60 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Vector3 | vector3 | ||
| ) |
Get value of the parameter
| name | Parameter name |
| vector3 | Vector3 value |
Definition at line 70 of file Material.cs.
| void FalcoEngine.Material.GetParameter | ( | string | name, |
| out Vector4 | vector4 | ||
| ) |
Get value of the parameter
| name | Parameter name |
| vector4 | Vector4 value |
Definition at line 80 of file Material.cs.
| T FalcoEngine.Material.GetParameter< T > | ( | string | name | ) |
Get value of the parameter
| T | Parameter type |
| name | Parameter name |
Definition at line 143 of file Material.cs.
|
static |
Load existing material
| name | Name of the existing material |
Definition at line 23 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| bool | val | ||
| ) |
Set value of the parameter
| name | Parameter name |
| val | Boolean value |
Definition at line 285 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Color | color | ||
| ) |
Set value of the parameter
| name | Parameter name |
| color | Color value |
Definition at line 295 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| float | flt | ||
| ) |
Set value of the parameter
| name | Parameter name |
| flt | Float value |
Definition at line 265 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| int | val | ||
| ) |
Set value of the parameter
| name | Parameter name |
| val | Int value |
Definition at line 275 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Matrix3 | matrix | ||
| ) |
Set value of the parameter
| name | Parameter name |
| matrix | Matrix3 value |
Definition at line 215 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Matrix4 | matrix | ||
| ) |
Set value of the parameter
| name | Parameter name |
| matrix | Matrix4 value |
Definition at line 225 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Texture | texture | ||
| ) |
Set value of the parameter
| name | Parameter name |
| texture | Texture value |
Definition at line 305 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Vector2 | vector2 | ||
| ) |
Set value of the parameter
| name | Parameter name |
| vector2 | Vector2 value |
Definition at line 235 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Vector3 | vector3 | ||
| ) |
Set value of the parameter
| name | Parameter name |
| vector3 | Vector3 value |
Definition at line 245 of file Material.cs.
| void FalcoEngine.Material.SetParameter | ( | string | name, |
| Vector4 | vector4 | ||
| ) |
Set value of the parameter
| name | Parameter name |
| vector4 | Vector4 value |
Definition at line 255 of file Material.cs.
|
getset |
Get or set a shader for this material
Definition at line 31 of file Material.cs.