RenderContextBase.SetMaterial (Material, Color, Boolean) Method

Sets the material properties.
Public Function SetMaterial( _ 
ByVal material As Material, _ 
ByVal backColor As Color, _ 
ByVal selected As Boolean
) As Boolean
This language is not supported or no code example is available.
public bool SetMaterial( 
Material material
Color backColor
bool selected 
)
This language is not supported or no code example is available.

Parameters

material
Material

The material

backColor
Color

The backface color

selected
bool

<default>

Return Value

bool

True if the material has a texture.

.NET Framework

Supported in: 4.8

In this article

Definition