C# Класс AcTools.Render.Kn5Specific.Materials.Kn5MaterialExtend

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetPropertyValueAByName() публичный статический Метод

public static GetPropertyValueAByName ( this mat, string name, float defaultValue = 0.0f ) : float
mat this
name string
defaultValue float
Результат float

GetPropertyValueCByName() публичный статический Метод

public static GetPropertyValueCByName ( this mat, string name ) : Vector3
mat this
name string
Результат Vector3

GetPropertyValueCByName() публичный статический Метод

public static GetPropertyValueCByName ( this mat, string name, Vector3 defaultValue ) : Vector3
mat this
name string
defaultValue Vector3
Результат Vector3

SetResource() публичный статический Метод

public static SetResource ( this variable, IRenderableTexture texture ) : void
variable this
texture IRenderableTexture
Результат void