Surface.Plastic
Plastic(float, float, ShadowCastingMode, bool)
Create a new, plasticky-looking surface.
Remarks
Uses the BlinnPhong lighting model.
Declaration
public static Surface Plastic(float specular = 0.5F, float gloss = 0.5F, ShadowCastingMode shadowCasting = ShadowCastingMode.Off, bool receiveShadows = false)
Parameters
| Type | Name | Description |
|---|---|---|
| float | specular | The Specular parameter. |
| float | gloss | The Gloss parameter. |
| ShadowCastingMode | shadowCasting | Value for ShadowCastingMode. |
| bool | receiveShadows | Value for ReceiveShadows. |
Returns
| Type | Description |
|---|---|
| Surface | A new Surface with a slightly glossy, non-metallic effect. |