*EndMaterial()

Indicates the end of a material block.

Syntax

*EndMaterial()

Application

MBD Model and HyperView.

Context

*BeginMaterial()

*BeginPalette()

Preference Files

Example

*BeginPalette()
	*BeginMaterial()
		*Name("blue green")
		*Emission(0, 0, 0)
		*Ambient(0, 0.46118, 0.6)
		*Diffuse(0, 0.76863, 1)
		*Specular(0, 0, 0)
		*Shininess(0)
		*Alpha(1)
	*EndMaterial()
*EndPalette()

Comments

Every *BeginMaterial() statement requires a closing *EndMaterial() statement.