3D Lingo Dictionary > C-D > diffuseColor |
![]() ![]() ![]() |
diffuseColor
Syntax
member(whichCastmember
).diffuseColor
Description
3D cast member property; indicates a color that is blended with the first texture of the first shader of the cast member when the following conditions are met:
![]() |
the shader's |
![]() |
the |
![]() |
the |
The default value is of the diffuseColor
property is rgb( 255, 255, 255 )
.
Example
This statement sets the diffuseColor
property of the cast member named Room to rgb(255, 0, 0)
.
member("Room").diffuseColor = rgb(255, 0, 0)
See also
diffuse
, useDiffuseWithTexture, blendFunction, blendSource, blendConstant
![]() ![]() ![]() |