3D Lingo Dictionary > O-S > style |
![]() ![]() ![]() |
style
Syntax
member(whichCastmember
).model(whichModel
).toon.style member(whichCastmember
).model(whichModel
).shader.style member(whichCastmember
).shader(whichShader
).style
Description
3D toon
modifier and painter
shader property; indicates the way the toon
modifier and painter
shader apply color to a model. Possible values are as follows:
![]() |
|
![]() |
|
![]() |
|
The number of colors used by the toon
modifier and painter
shader is set with the colorSteps
property of the modifier or shader.
Example
This statement sets the style
property of the toon
modifier for the model named Teapot to #blackAndWhite
. The model will be rendered in two-color black and white.
member("Shapes").model("Teapot").toon.style = #blackAndWhite
![]() ![]() ![]() |