Свойство | Тип | Описание | |
---|---|---|---|
m_ID | int | ||
m_Name | string | ||
m_Name2Parameter | Parameter>.Dictionary | ||
m_Owner | Scene | ||
m_Parameters | List |
||
m_ShaderURL | string | ||
m_TextureParameters | List |
Метод | Описание | |
---|---|---|
ClearParameters ( ) : void |
Clears all registered parameters
|
|
CreateParameter ( string _Name, PARAMETER_TYPE _Type ) : Parameter |
Creates a new parameter
|
|
Find ( string _ParameterName ) : Parameter |
Finds a parameter by name
|
|
ToString ( ) : string |
Метод | Описание | |
---|---|---|
AddTextureParameter ( |
Adds a texture parameter (called by one of our TextureParameter which was assigned a texture)
|
|
RemoveTextureParameter ( |
Removes a texture parameter (called by one of our TextureParameter which was assigned a texture)
|
Метод | Описание | |
---|---|---|
MaterialParameters ( Scene _Owner, System _Reader ) : System |
Loads parameters from a stream
|
|
MaterialParameters ( Scene _Owner, int _ID, string _Name, string _ShaderURL ) : System | ||
Save ( System _Writer ) : void |
Saves parameters to a stream
|
protected AddTextureParameter ( |
||
_Texture | ||
Результат | void |
public CreateParameter ( string _Name, PARAMETER_TYPE _Type ) : Parameter | ||
_Name | string | |
_Type | PARAMETER_TYPE | |
Результат | Parameter |
public Find ( string _ParameterName ) : Parameter | ||
_ParameterName | string | |
Результат | Parameter |
protected RemoveTextureParameter ( |
||
_Texture | ||
Результат | void |
protected Dictionary |
||
Результат | Parameter>.Dictionary |