Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout.GfxAttributesColor Class / GetMaterial Method

In This Topic
    GetMaterial Method
    In This Topic
    Syntax
    'Declaration
     
    Protected Function GetMaterial( _
       ByVal materials As MaterialKeyedCollection, _
       ByVal materialName As String, _
       ByVal color As Color, _
       ByVal defaultMaterial As Material, _
       ByVal forceGray As Boolean, _
       ByVal vp As ViewportLayout, _
       ByVal ent As Entity _
    ) As Material
    protected Material GetMaterial( 
       MaterialKeyedCollection materials,
       string materialName,
       Color color,
       Material defaultMaterial,
       bool forceGray,
       ViewportLayout vp,
       Entity ent
    )

    Parameters

    materials
    materialName
    color
    defaultMaterial
    forceGray
    vp
    ent
    See Also