C# Class Klak.MaterialExtension.MaterialPropertySetterExtension

显示文件 Open project: keijiro/Klak

Public Methods

Method Description
Property ( this m, string name, Color color ) : MaterialPropertyBlock
Property ( this m, string name, Texture texture ) : MaterialPropertyBlock
Property ( this m, string name, Vector2 v ) : MaterialPropertyBlock
Property ( this m, string name, Vector3 v ) : MaterialPropertyBlock
Property ( this m, string name, Vector4 v ) : MaterialPropertyBlock
Property ( this m, string name, float x ) : MaterialPropertyBlock
Property ( this m, string name, float x, float y ) : MaterialPropertyBlock
Property ( this m, string name, float x, float y, float z ) : MaterialPropertyBlock
Property ( this m, string name, float x, float y, float z, float w ) : MaterialPropertyBlock

Method Details

Property() static public method

static public Property ( this m, string name, Color color ) : MaterialPropertyBlock
m this
name string
color UnityEngine.Color
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, Texture texture ) : MaterialPropertyBlock
m this
name string
texture UnityEngine.Texture
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, Vector2 v ) : MaterialPropertyBlock
m this
name string
v UnityEngine.Vector2
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, Vector3 v ) : MaterialPropertyBlock
m this
name string
v UnityEngine.Vector3
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, Vector4 v ) : MaterialPropertyBlock
m this
name string
v UnityEngine.Vector4
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, float x ) : MaterialPropertyBlock
m this
name string
x float
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, float x, float y ) : MaterialPropertyBlock
m this
name string
x float
y float
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, float x, float y, float z ) : MaterialPropertyBlock
m this
name string
x float
y float
z float
return UnityEngine.MaterialPropertyBlock

Property() static public method

static public Property ( this m, string name, float x, float y, float z, float w ) : MaterialPropertyBlock
m this
name string
x float
y float
z float
w float
return UnityEngine.MaterialPropertyBlock