3D Lingo Dictionary > O-S > rotation (engraver shader) |  |

rotation (engraver shader)

Syntax

    member(whichCastmember).shader(whichShader).rotation
    member(whichCastmember).model(whichModel).shader.rotation
    member(whichCastmember).model(whichModel).shaderList[index].rotation

Description

3D shader engraver property; allows you to get or set an angle in degrees (as a floating-point number) that describes a 2D rotational offset for engraved lines. The default value for this property is 0.0.

Example

This statement rotates the lines used to draw the engraver shader for the model gbCyl3 by 1°.

    member("scene").model("gbCyl3").shader.rotation = \ member("scene").model("gbCyl3").shader.rotation + 1

See also

`transform (property)`