Drawing3d documented Class Library

Material.Updating Method

If you want to change properties of the material, please use Updating first and Updated at last. This guarantees that a Update-call is fired only once.

// Sample
Material m = new Material();
m.Updating();
m.Ambient    = Color.Red;
m.Specular    = Color.Blue;
.
.
m.Updated();
// now the virtual method Update will be called.

[Visual Basic]
Public Sub Updating()
[C#]
public void Updating();

See Also

Material Class | Drawing3d.Materials Namespace