User Guide

600
The range of this property is 0 to 100, and the default value is 50.
The number of colors used by the
toon modifier and painter shader for a model is determined by
the
colorSteps property of the model’s toon modifier or painter shader.
Example
The following statement sets the shadowPercentage property of the toon modifier for the model
named Teapot to 50. Half of the colors available to the
toon modifier for this model will be used
for the shadow area of the model’s surface.
member("shapes").model("Teapot").toon.shadowPercentage = 50
See also
colorSteps, shadowStrength
shadowStrength
Syntax
member(whichCastmember).model(whichModel).toon.shadowStrength
member(whichCastmember).model(whichModel).shader.shadowStrength
member(whichCastmember).shader(whichShader).shadowStrength
Description
3D toon modifier and #painter shader property; indicates the brightness of the area of the models
surface where light does not create highlights.
The default value of this property is 1.0.
Example
The following statement sets the shadowStrength property of the toon modifier for the model
named Sphere to 0.1. The area of the models surface that is not highlighted will be very dark.
member("Shapes").model("Sphere").toon.shadowStrength = 0.1
shapeType
Syntax
member(whichCastMember).shapeType
the shapeType of member whichCastMember
Description
Shape cast member property; indicates the specified shapes type. Possible types are #rect,
#roundRect, #oval, and #line. You can use this property to specify a shape cast members type after
creating the shape cast member using Lingo.
Example
These statements create a new shape cast member numbered 100 and then define it as an oval:
new(#shape, member 100)
member(100).shapeType = #oval