public float[] GetFloatArray (string name);
public float[] GetFloatArray (int name);

Parámetros

nameEl nombre de una propiedad.
nameIDEl ID del nombre de la propiedad recuperada por Shader.PropertyToID.

Descripción

Get a named float array.

See Also: SetFloatArray.


public void GetFloatArray (string name, List<float> values);
public void GetFloatArray (int name, List<float> values);

Parámetros

nameIDEl ID del nombre de la propiedad recuperada por Shader.PropertyToID.
nameEl nombre de una propiedad.
valuesThe list to hold the returned array.

Descripción

Fetch a named float array into a list.

The list will be resized to the array size, or cleared if such property doesn't exist. Memory allocation is guaranteed not to happen during the function call.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.