FaceRenderColor Option

 

The FaceRenderColor option changes the color of the lines between cubes when the FaceRenderShowEdges option is set to True. The OptionValue is the name of the color.

 

Syntax

object.Construct(“CreateModule”)

object.Option(“SourceModule”, “data file name”)

object.Option(“Type”, “FaceRender”)

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

object.Option(“Module”, “FaceRender”)

object.Option(“FaceRenderColor”, “OptionValue”)

object.Do() or object.DoOnce()

 

Example

This example changes the FaceRender edge line color to light green.

 

  CommandApi.Construct ("ModifyModule")

  CommandApi.Option ("Module", "FaceRender")

  CommandApi.Option ("FaceRenderColor", "light green")

  CommandApi.Do()

 

Used by: FaceRender

 

 

See Also

Automation Model