Nevron .NET Vision
Nevron.GraphicsCore Namespace / NMaterialStyle Class / SetAmbientDiffuse Method


In This Topic
    SetAmbientDiffuse Method
    In This Topic
    Sets the ambient and diffuse colors of this material style to the specified color
    Syntax
    'Declaration
     
    
    Public Sub SetAmbientDiffuse( _
       ByVal color As NArgbColorValue _
    ) 
    'Usage
     
    
    Dim instance As NMaterialStyle
    Dim color As NArgbColorValue
     
    instance.SetAmbientDiffuse(color)
    public void SetAmbientDiffuse( 
       NArgbColorValue color
    )

    Parameters

    color
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also