3D Lingo Dictionary > O-S > renderStyle |
![]() ![]() ![]() |
renderStyle
Syntax
member(whichCastmember
).shader(whichShader
).renderStyle
Description
3D standard shader property; allows you to get or set the renderStyle
for a shader, as determined by the geometry of the underlying model resource. This property has the following values:
#fill specifies that the shader is drawn to completely fill the surface area of the model resource.
#wire specifies that the shader is drawn only on the edges of the faces of the model resource.
#point specifies that the shader is drawn only on the vertices of the model resource.
All shaders have access to the #standard
shader properties; in addition to these standard shader properties shaders of the types #engraver
, #newsprint
, and #painter
have properties unique to their type. See the newShader
for more information.
Example
This statement causes the shader WallMaterial to be rendered only where it lies on top of a vertex of the underlying model resource.
member("CityScene").shader("WallMaterial").renderStyle = #point
![]() ![]() ![]() |