PropertyToID() public static method

public static PropertyToID ( string name ) : int
name string
return int
Ejemplo n.º 1
0
 public float GetFloat(string name)
 {
     return(this.GetFloatImpl(Shader.PropertyToID(name)));
 }
Ejemplo n.º 2
0
 public float GetFloat(string propertyName)
 {
     return(this.GetFloat(Shader.PropertyToID(propertyName)));
 }
Ejemplo n.º 3
0
 public Texture GetTexture(string propertyName)
 {
     return(this.GetTexture(Shader.PropertyToID(propertyName)));
 }
Ejemplo n.º 4
0
 public void SetMatrixArray(string name, Matrix4x4[] values)
 {
     this.SetMatrixArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 5
0
 public void SetVectorArray(string name, Vector4[] values)
 {
     this.SetVectorArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 6
0
 public void SetColorArray(string name, Color[] values)
 {
     this.SetColorArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 7
0
 public void SetFloatArray(string name, float[] values)
 {
     this.SetFloatArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 8
0
 public Color[] GetColorArray(string name)
 {
     return(this.GetColorArray(Shader.PropertyToID(name)));
 }
Ejemplo n.º 9
0
 public Vector4[] GetVectorArray(string name)
 {
     return(this.GetVectorArray(Shader.PropertyToID(name)));
 }
Ejemplo n.º 10
0
 public Texture GetTexture(string name)
 {
     return(this.GetTextureImpl(Shader.PropertyToID(name)));
 }
Ejemplo n.º 11
0
 public float[] GetFloatArray(string name)
 {
     return(this.GetFloatArray(Shader.PropertyToID(name)));
 }
Ejemplo n.º 12
0
 public Matrix4x4 GetMatrix(string name)
 {
     return(this.GetMatrixImpl(Shader.PropertyToID(name)));
 }
Ejemplo n.º 13
0
 public Vector4 GetVector(string name)
 {
     return(this.GetColorImpl(Shader.PropertyToID(name)));
 }
Ejemplo n.º 14
0
 public int GetInt(string name)
 {
     return((int)this.GetFloatImpl(Shader.PropertyToID(name)));
 }
Ejemplo n.º 15
0
 public bool HasProperty(string propertyName)
 {
     return(this.HasProperty(Shader.PropertyToID(propertyName)));
 }
Ejemplo n.º 16
0
 public Matrix4x4[] GetMatrixArray(string name)
 {
     return(this.GetMatrixArray(Shader.PropertyToID(name)));
 }
Ejemplo n.º 17
0
 public void SetColor(string propertyName, Color color)
 {
     this.SetColor(Shader.PropertyToID(propertyName), color);
 }
Ejemplo n.º 18
0
 public void GetFloatArray(string name, List <float> values)
 {
     this.ExtractFloatArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 19
0
 public void SetFloat(string propertyName, float value)
 {
     this.SetFloat(Shader.PropertyToID(propertyName), value);
 }
Ejemplo n.º 20
0
 public void GetColorArray(string name, List <Color> values)
 {
     this.ExtractColorArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 21
0
 public void SetMatrix(string propertyName, Matrix4x4 matrix)
 {
     this.SetMatrix(Shader.PropertyToID(propertyName), matrix);
 }
Ejemplo n.º 22
0
 public void GetVectorArray(string name, List <Vector4> values)
 {
     this.ExtractVectorArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 23
0
 public void SetTexture(string propertyName, Texture texture)
 {
     this.SetTexture(Shader.PropertyToID(propertyName), texture);
 }
Ejemplo n.º 24
0
 public void GetMatrixArray(string name, List <Matrix4x4> values)
 {
     this.ExtractMatrixArray(Shader.PropertyToID(name), values);
 }
Ejemplo n.º 25
0
 public Color GetColor(string propertyName)
 {
     return(this.GetColor(Shader.PropertyToID(propertyName)));
 }
Ejemplo n.º 26
0
 public void SetTextureScale(string name, Vector2 value)
 {
     this.SetTextureScaleImpl(Shader.PropertyToID(name), value);
 }
Ejemplo n.º 27
0
 public Matrix4x4 GetMatrix(string propertyName)
 {
     return(this.GetMatrix(Shader.PropertyToID(propertyName)));
 }
Ejemplo n.º 28
0
 public Vector2 GetTextureScale(string name)
 {
     return(this.GetTextureScale(Shader.PropertyToID(name)));
 }
Ejemplo n.º 29
0
 public bool HasProperty(string name)
 {
     return(HasProperty(Shader.PropertyToID(name)));
 }
Ejemplo n.º 30
0
 public void SetMatrixArray(string name, List <Matrix4x4> values)
 {
     this.SetMatrixArray(Shader.PropertyToID(name), NoAllocHelpers.ExtractArrayFromListT <Matrix4x4>(values), values.Count);
 }