facematerial manipulator in code

Solutionideas mod 5 years ago in Question 0

FaceMaterial default's color is blue , I need to change facematerial color by C#

I coding...

main.FaceMaterial = Materials.Red

and try to set transparent

main.FaceMaterial = nothing

it's not happen anything. 'main' it still 'Blue'

Please help. How can I change this property?

and Thanks to all answer and suggestion.

WPF Media3D