The LatticeGradientComponent option changes the component for the gradient applied to a lattice. The OptionValue is an integer, defining which component to use for the gradient.
Syntax
object.Construct(“ModifyModule”)
object.Option(“Module”, “Gradient”)
object.Option(“LatticeGradientComponent”, “OptionValue”)
object.Do() or object.DoOnce()
Example
This example sets the component for the gradient.
CommandApi.Construct ("ModifyModule")
CommandApi.Option ("Module", "Gradient")
CommandApi.Option ("LatticeGradientComponent", "2")
CommandApi.Do()
Used by: LatticeGradient
See Also