Метод | Описание | |
---|---|---|
GetColor ( int nameID ) : Color |
Get a named color value.
|
|
GetColor ( string propertyName ) : Color |
Get a named color value.
|
|
GetColorArray ( int nameID ) : Color[] |
Get a named color array.
|
|
GetColorArray ( string name ) : Color[] |
Get a named color array.
|
|
GetColorArray ( int nameID, List |
||
GetColorArray ( string name, List |
||
GetFloat ( string propertyName ) : float |
Get a named float value.
|
|
GetFloatArray ( int nameID ) : float[] |
Get a named float array.
|
|
GetFloatArray ( string name ) : float[] |
Get a named float array.
|
|
GetFloatArray ( int nameID, List |
||
GetFloatArray ( string name, List |
||
GetInt ( int nameID ) : int |
Get a named integer value.
|
|
GetInt ( string propertyName ) : int |
Get a named integer value.
|
|
GetMatrix ( int nameID ) : |
Get a named matrix value from the shader.
|
|
GetMatrix ( string propertyName ) : |
Get a named matrix value from the shader.
|
|
GetMatrixArray ( int nameID ) : UnityEngine.Matrix4x4[] |
Get a named matrix array.
|
|
GetMatrixArray ( string name ) : UnityEngine.Matrix4x4[] |
Get a named matrix array.
|
|
GetMatrixArray ( int nameID, List |
||
GetMatrixArray ( string name, List |
||
GetTexture ( string propertyName ) : |
Get a named texture.
|
|
GetTextureOffset ( string propertyName ) : Vector2 |
Gets the placement offset of texture propertyName.
|
|
GetTextureScale ( string propertyName ) : Vector2 |
Gets the placement scale of texture propertyName.
|
|
GetVector ( int nameID ) : Vector4 |
Get a named vector value.
|
|
GetVector ( string propertyName ) : Vector4 |
Get a named vector value.
|
|
GetVectorArray ( int nameID ) : Vector4[] |
Get a named vector array.
|
|
GetVectorArray ( string name ) : Vector4[] |
Get a named vector array.
|
|
GetVectorArray ( int nameID, List |
||
GetVectorArray ( string name, List |
||
HasProperty ( string propertyName ) : bool |
Checks if material's shader has a property of a given name.
|
|
Material ( |
Create a temporary Material.
|
|
Material ( |
Create a temporary Material.
|
|
SetBuffer ( int nameID, |
Set a named ComputeBuffer value.
|
|
SetBuffer ( string name, |
Set a named ComputeBuffer value.
|
|
SetColor ( int nameID, Color color ) : void |
Set a named color value.
|
|
SetColor ( string propertyName, Color color ) : void |
Set a named color value.
|
|
SetColorArray ( int nameID, Color values ) : void |
Set a color array property.
|
|
SetColorArray ( int nameID, List |
||
SetColorArray ( string name, Color values ) : void |
Set a color array property.
|
|
SetColorArray ( string name, List |
||
SetFloat ( string propertyName, float value ) : void |
Set a named float value.
|
|
SetFloatArray ( int nameID, List |
||
SetFloatArray ( int nameID, float values ) : void |
Set a float array property.
|
|
SetFloatArray ( string name, List |
||
SetFloatArray ( string name, float values ) : void |
Set a float array property.
|
|
SetInt ( int nameID, int value ) : void |
Set a named integer value.
|
|
SetInt ( string propertyName, int value ) : void |
Set a named integer value.
|
|
SetMatrix ( int nameID, |
Set a named matrix for the shader.
|
|
SetMatrix ( string propertyName, |
Set a named matrix for the shader.
|
|
SetMatrixArray ( int nameID, List |
||
SetMatrixArray ( int nameID, |
Set a matrix array property.
|
|
SetMatrixArray ( string name, List |
||
SetMatrixArray ( string name, |
Set a matrix array property.
|
|
SetTexture ( string propertyName, |
Set a named texture.
|
|
SetTextureOffset ( string propertyName, Vector2 offset ) : void |
Sets the placement offset of texture propertyName.
|
|
SetTextureScale ( string propertyName, Vector2 scale ) : void |
Sets the placement scale of texture propertyName.
|
|
SetVector ( int nameID, Vector4 vector ) : void |
Set a named vector value.
|
|
SetVector ( string propertyName, Vector4 vector ) : void |
Set a named vector value.
|
|
SetVectorArray ( int nameID, List |
||
SetVectorArray ( int nameID, Vector4 values ) : void |
Set a vector array property.
|
|
SetVectorArray ( string name, List |
||
SetVectorArray ( string name, Vector4 values ) : void |
Set a vector array property.
|
Метод | Описание | |
---|---|---|
CopyPropertiesFromMaterial ( |
||
Create ( string scriptContents ) : |
||
DisableKeyword ( string keyword ) : void | ||
EnableKeyword ( string keyword ) : void | ||
FindPass ( string passName ) : int | ||
GetColorArrayImpl ( int nameID ) : Color[] | ||
GetColorArrayImplList ( int nameID, object list ) : void | ||
GetFloat ( int nameID ) : float | ||
GetFloatArrayImpl ( int nameID ) : float[] | ||
GetFloatArrayImplList ( int nameID, object list ) : void | ||
GetMatrixArrayImpl ( int nameID ) : UnityEngine.Matrix4x4[] | ||
GetMatrixArrayImplList ( int nameID, object list ) : void | ||
GetPassName ( int pass ) : string | ||
GetTag ( string tag, bool searchFallbacks ) : string | ||
GetTag ( string tag, bool searchFallbacks, [ defaultValue ) : string | ||
GetTexture ( int nameID ) : |
||
GetVectorArrayImpl ( int nameID ) : Vector4[] | ||
GetVectorArrayImplList ( int nameID, object list ) : void | ||
HasProperty ( int nameID ) : bool | ||
INTERNAL_CALL_GetColor ( |
||
INTERNAL_CALL_GetMatrix ( |
||
INTERNAL_CALL_SetColor ( |
||
INTERNAL_CALL_SetMatrix ( |
||
INTERNAL_CALL_SetTextureOffset ( |
||
INTERNAL_CALL_SetTextureScale ( |
||
Internal_CreateWithMaterial ( [ mono, |
||
Internal_CreateWithShader ( [ mono, |
||
Internal_CreateWithString ( [ mono, string contents ) : void | ||
Internal_GetTextureScaleAndOffset ( |
||
IsKeywordEnabled ( string keyword ) : bool | ||
Lerp ( |
||
Material ( string contents ) : System | ||
SetBufferImpl ( int nameID, |
||
SetColorArrayImpl ( int nameID, Color values ) : void | ||
SetColorArrayImplList ( int nameID, object values ) : void | ||
SetFloat ( int nameID, float value ) : void | ||
SetFloatArrayImpl ( int nameID, float values ) : void | ||
SetFloatArrayImplList ( int nameID, object values ) : void | ||
SetMatrixArrayImpl ( int nameID, |
||
SetMatrixArrayImplList ( int nameID, object values ) : void | ||
SetOverrideTag ( string tag, string val ) : void | ||
SetPass ( int pass ) : bool | ||
SetTexture ( int nameID, |
||
SetVectorArrayImpl ( int nameID, Vector4 values ) : void | ||
SetVectorArrayImplList ( int nameID, object values ) : void |
public GetColor ( int nameID ) : Color | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | Color |
public GetColor ( string propertyName ) : Color | ||
propertyName | string | The name of the property. |
Результат | Color |
public GetColorArray ( int nameID ) : Color[] | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | Color[] |
public GetColorArray ( string name ) : Color[] | ||
name | string | The name of the property. |
Результат | Color[] |
public GetColorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public GetColorArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public GetFloat ( string propertyName ) : float | ||
propertyName | string | The name of the property. |
Результат | float |
public GetFloatArray ( int nameID ) : float[] | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | float[] |
public GetFloatArray ( string name ) : float[] | ||
name | string | The name of the property. |
Результат | float[] |
public GetFloatArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public GetFloatArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public GetInt ( int nameID ) : int | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | int |
public GetInt ( string propertyName ) : int | ||
propertyName | string | The name of the property. |
Результат | int |
public GetMatrix ( int nameID ) : |
||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат |
public GetMatrix ( string propertyName ) : |
||
propertyName | string | The name of the property. |
Результат |
public GetMatrixArray ( int nameID ) : UnityEngine.Matrix4x4[] | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | UnityEngine.Matrix4x4[] |
public GetMatrixArray ( string name ) : UnityEngine.Matrix4x4[] | ||
name | string | The name of the property. |
Результат | UnityEngine.Matrix4x4[] |
public GetMatrixArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public GetMatrixArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public GetTexture ( string propertyName ) : |
||
propertyName | string | The name of the property. |
Результат |
public GetTextureOffset ( string propertyName ) : Vector2 | ||
propertyName | string | The name of the property. |
Результат | Vector2 |
public GetTextureScale ( string propertyName ) : Vector2 | ||
propertyName | string | The name of the property. |
Результат | Vector2 |
public GetVector ( int nameID ) : Vector4 | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | Vector4 |
public GetVector ( string propertyName ) : Vector4 | ||
propertyName | string | The name of the property. |
Результат | Vector4 |
public GetVectorArray ( int nameID ) : Vector4[] | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
Результат | Vector4[] |
public GetVectorArray ( string name ) : Vector4[] | ||
name | string | The name of the property. |
Результат | Vector4[] |
public GetVectorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public GetVectorArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public HasProperty ( string propertyName ) : bool | ||
propertyName | string | |
Результат | bool |
public Material ( |
||
source | Create a material by copying all properties from another material. | |
Результат | System |
public Material ( |
||
shader | Create a material with a given Shader. | |
Результат | System |
public SetBuffer ( int nameID, |
||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
value | ComputeBuffer value to set. | |
Результат | void |
public SetBuffer ( string name, |
||
name | string | Property name. |
value | ComputeBuffer value to set. | |
Результат | void |
public SetColor ( int nameID, Color color ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
color | Color | Color value to set. |
Результат | void |
public SetColor ( string propertyName, Color color ) : void | ||
propertyName | string | Property name, e.g. "_Color". |
color | Color | Color value to set. |
Результат | void |
public SetColorArray ( int nameID, Color values ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
values | Color | Array of values to set. |
Результат | void |
public SetColorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public SetColorArray ( string name, Color values ) : void | ||
name | string | Property name. |
values | Color | Array of values to set. |
Результат | void |
public SetColorArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public SetFloat ( string propertyName, float value ) : void | ||
propertyName | string | Property name, e.g. "_Glossiness". |
value | float | Float value to set. |
Результат | void |
public SetFloatArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public SetFloatArray ( int nameID, float values ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
values | float | Array of values to set. |
Результат | void |
public SetFloatArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public SetFloatArray ( string name, float values ) : void | ||
name | string | Property name. |
values | float | Array of values to set. |
Результат | void |
public SetInt ( int nameID, int value ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
value | int | Integer value to set. |
Результат | void |
public SetInt ( string propertyName, int value ) : void | ||
propertyName | string | Property name, e.g. "_SrcBlend". |
value | int | Integer value to set. |
Результат | void |
public SetMatrix ( int nameID, |
||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
matrix | Matrix value to set. | |
Результат | void |
public SetMatrix ( string propertyName, |
||
propertyName | string | Property name, e.g. "_CubemapRotation". |
matrix | Matrix value to set. | |
Результат | void |
public SetMatrixArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public SetMatrixArray ( int nameID, |
||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
values | Array of values to set. | |
Результат | void |
public SetMatrixArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public SetMatrixArray ( string name, |
||
name | string | Property name. |
values | Array of values to set. | |
Результат | void |
public SetTexture ( string propertyName, |
||
propertyName | string | Property name, e.g. "_MainTex". |
texture | Texture to set. | |
Результат | void |
public SetTextureOffset ( string propertyName, Vector2 offset ) : void | ||
propertyName | string | |
offset | Vector2 | |
Результат | void |
public SetTextureScale ( string propertyName, Vector2 scale ) : void | ||
propertyName | string | |
scale | Vector2 | |
Результат | void |
public SetVector ( int nameID, Vector4 vector ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
vector | Vector4 | Vector value to set. |
Результат | void |
public SetVector ( string propertyName, Vector4 vector ) : void | ||
propertyName | string | Property name, e.g. "_WaveAndDistance". |
vector | Vector4 | Vector value to set. |
Результат | void |
public SetVectorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
Результат | void |
public SetVectorArray ( int nameID, Vector4 values ) : void | ||
nameID | int | Property name ID, use Shader.PropertyToID to get it. |
values | Vector4 | Array of values to set. |
Результат | void |
public SetVectorArray ( string name, List |
||
name | string | |
values | List |
|
Результат | void |
public SetVectorArray ( string name, Vector4 values ) : void | ||
name | string | Property name. |
values | Vector4 | Array of values to set. |
Результат | void |