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

Afficher le fichier Open project: gro-ove/actools

Méthodes publiques

Méthode 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 méthode

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

GetPropertyValueCByName() public static méthode

public static GetPropertyValueCByName ( this mat, string name ) : Vector3
mat this
name string
Résultat Vector3

GetPropertyValueCByName() public static méthode

public static GetPropertyValueCByName ( this mat, string name, Vector3 defaultValue ) : Vector3
mat this
name string
defaultValue Vector3
Résultat Vector3

SetResource() public static méthode

public static SetResource ( this variable, IRenderableTexture texture ) : void
variable this
texture IRenderableTexture
Résultat void