VolRenderUsePalette Option

 

The VolRenderUsePalette option turns on or off the display of palette textures for the VolRender. The OptionValue is either True or False. True uses paletted textures. False does not.

 

Syntax

object.Construct(“CreateModule”)

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

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

object.Do() or object.DoOnce()

 

object.Construct(“ModifyModule”)

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

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

object.Do() or object.DoOnce()

 

Example

This example turns paletted textures off for volrender.

 

  CommandApi.Construct("ModifyModule")

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

  CommandApi.Option ("VolRenderUsePalette", "False")

  CommandApi.Do()

 

Used by: VolRender module

 

 

See Also

Automation Model