C# Class AcTools.Render.Kn5Specific.Materials.Kn5MaterialExtend

Show file Open project: gro-ove/actools

Public Methods

Method Description
GetPropertyValueAByName ( this mat, string name, float defaultValue = 0.0f ) : float
GetPropertyValueCByName ( this mat, string name ) : Vector3
GetPropertyValueCByName ( this mat, string name, Vector3 defaultValue ) : Vector3
SetResource ( this variable, IRenderableTexture texture ) : void

Method Details

GetPropertyValueAByName() public static method

public static GetPropertyValueAByName ( this mat, string name, float defaultValue = 0.0f ) : float
mat this
name string
defaultValue float
return float

GetPropertyValueCByName() public static method

public static GetPropertyValueCByName ( this mat, string name ) : Vector3
mat this
name string
return Vector3

GetPropertyValueCByName() public static method

public static GetPropertyValueCByName ( this mat, string name, Vector3 defaultValue ) : Vector3
mat this
name string
defaultValue Vector3
return Vector3

SetResource() public static method

public static SetResource ( this variable, IRenderableTexture texture ) : void
variable this
texture IRenderableTexture
return void