Method | Description | |
---|---|---|
GetFloat ( string name ) : float |
Get a float from the property block.
|
|
GetFloatArray ( string name ) : float[] |
Get a float array from the property block.
|
|
GetFloatArray ( int nameID, List |
||
GetFloatArray ( string name, List |
||
GetMatrix ( int nameID ) : |
Get a matrix from the property block.
|
|
GetMatrix ( string name ) : |
Get a matrix from the property block.
|
|
GetMatrixArray ( string name ) : UnityEngine.Matrix4x4[] |
Get a matrix array from the property block.
|
|
GetMatrixArray ( int nameID, List |
||
GetMatrixArray ( string name, List |
||
GetTexture ( string name ) : |
Get a texture from the property block.
|
|
GetVector ( int nameID ) : Vector4 |
Get a vector from the property block.
|
|
GetVector ( string name ) : Vector4 |
Get a vector from the property block.
|
|
GetVectorArray ( string name ) : Vector4[] |
Get a vector array from the property block.
|
|
GetVectorArray ( int nameID, List |
||
GetVectorArray ( string name, List |
||
MaterialPropertyBlock ( ) : System | ||
SetBuffer ( string name, |
Set a ComputeBuffer property.
|
|
SetColor ( int nameID, Color value ) : void |
Set a color property.
|
|
SetColor ( string name, Color value ) : void |
Set a color property.
|
|
SetFloat ( string name, float value ) : void |
Set a float property.
|
|
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.
|
|
SetMatrix ( int nameID, |
Set a matrix property.
|
|
SetMatrix ( string name, |
Set a matrix property.
|
|
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 name, |
Set a texture property.
|
|
SetVector ( int nameID, Vector4 value ) : void |
Set a vector property.
|
|
SetVector ( string name, Vector4 value ) : void |
Set a vector property.
|
|
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.
|
Method | Description | |
---|---|---|
AddColor ( int nameID, Color value ) : void | ||
AddColor ( string name, Color value ) : void | ||
AddFloat ( int nameID, float value ) : void | ||
AddFloat ( string name, float value ) : void | ||
AddMatrix ( int nameID, |
||
AddMatrix ( string name, |
||
AddTexture ( int nameID, |
||
AddTexture ( string name, |
||
AddVector ( int nameID, Vector4 value ) : void | ||
AddVector ( string name, Vector4 value ) : void | ||
Clear ( ) : void | ||
DestroyBlock ( ) : void | ||
GetFloat ( int nameID ) : float | ||
GetFloatArray ( int nameID ) : float[] | ||
GetFloatArrayImplList ( int nameID, object list ) : void | ||
GetMatrixArray ( int nameID ) : UnityEngine.Matrix4x4[] | ||
GetMatrixArrayImplList ( int nameID, object list ) : void | ||
GetTexture ( int nameID ) : |
||
GetVectorArray ( int nameID ) : Vector4[] | ||
GetVectorArrayImplList ( int nameID, object list ) : void | ||
INTERNAL_CALL_GetMatrix ( |
||
INTERNAL_CALL_GetVector ( |
||
INTERNAL_CALL_SetColor ( |
||
INTERNAL_CALL_SetMatrix ( |
||
INTERNAL_CALL_SetVector ( |
||
InitBlock ( ) : void | ||
SetBuffer ( int nameID, |
||
SetFloat ( int nameID, float value ) : void | ||
SetFloatArrayImpl ( int nameID, float values ) : void | ||
SetFloatArrayImplList ( int nameID, object list ) : void | ||
SetMatrixArrayImpl ( int nameID, |
||
SetMatrixArrayImplList ( int nameID, object list ) : void | ||
SetTexture ( int nameID, |
||
SetVectorArrayImpl ( int nameID, Vector4 values ) : void | ||
SetVectorArrayImplList ( int nameID, object list ) : void |
public GetFloatArray ( string name ) : float[] | ||
name | string | |
return | float[] |
public GetFloatArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public GetFloatArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public GetMatrixArray ( string name ) : UnityEngine.Matrix4x4[] | ||
name | string | |
return | UnityEngine.Matrix4x4[] |
public GetMatrixArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public GetMatrixArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public GetVectorArray ( string name ) : Vector4[] | ||
name | string | |
return | Vector4[] |
public GetVectorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public GetVectorArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public SetBuffer ( string name, |
||
name | string | The name of the property. |
value | The ComputeBuffer to set. | |
return | void |
public SetColor ( int nameID, Color value ) : void | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
value | Color | The Color value to set. |
return | void |
public SetColor ( string name, Color value ) : void | ||
name | string | The name of the property. |
value | Color | The Color value to set. |
return | void |
public SetFloat ( string name, float value ) : void | ||
name | string | The name of the property. |
value | float | The float value to set. |
return | void |
public SetFloatArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public SetFloatArray ( int nameID, float values ) : void | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
values | float | The array to set. |
return | void |
public SetFloatArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public SetFloatArray ( string name, float values ) : void | ||
name | string | The name of the property. |
values | float | The array to set. |
return | void |
public SetMatrix ( int nameID, |
||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
value | The matrix value to set. | |
return | void |
public SetMatrix ( string name, |
||
name | string | The name of the property. |
value | The matrix value to set. | |
return | void |
public SetMatrixArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public SetMatrixArray ( int nameID, |
||
nameID | int | The array to set. |
values | The name ID of the property retrieved by Shader.PropertyToID. | |
return | void |
public SetMatrixArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public SetMatrixArray ( string name, |
||
name | string | The name of the property. |
values | The name ID of the property retrieved by Shader.PropertyToID. | |
return | void |
public SetTexture ( string name, |
||
name | string | The name of the property. |
value | The Texture to set. | |
return | void |
public SetVector ( int nameID, Vector4 value ) : void | ||
nameID | int | The name ID of the property retrieved by Shader.PropertyToID. |
value | Vector4 | The Vector4 value to set. |
return | void |
public SetVector ( string name, Vector4 value ) : void | ||
name | string | The name of the property. |
value | Vector4 | The Vector4 value to set. |
return | void |
public SetVectorArray ( int nameID, List |
||
nameID | int | |
values | List |
|
return | void |
public SetVectorArray ( int nameID, Vector4 values ) : void | ||
nameID | int | The name of the property. |
values | Vector4 | The name ID of the property retrieved by Shader.PropertyToID. |
return | void |
public SetVectorArray ( string name, List |
||
name | string | |
values | List |
|
return | void |
public SetVectorArray ( string name, Vector4 values ) : void | ||
name | string | The array to set. |
values | Vector4 | The name ID of the property retrieved by Shader.PropertyToID. |
return | void |