C# Class Klak.MaterialExtension.MaterialSetterExtension

显示文件 Open project: keijiro/Klak

Public Methods

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

Method Details

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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

Property() static public method

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