FREE TRIAL

|

☀
☾

Surface.BrushedMetal

BrushedMetal(float, float, ShadowCastingMode, bool)

Create a new, brushed metal surface.

Remarks

Uses the Standard lighting model.

Declaration
public static Surface BrushedMetal(float smoothness = 0.4F, float metalic = 1F, ShadowCastingMode shadowCasting = ShadowCastingMode.Off, bool receiveShadows = false)
Parameters
Type Name Description
float smoothness

The Smoothness parameter.

float metalic
ShadowCastingMode shadowCasting

Value for ShadowCastingMode.

bool receiveShadows

Value for ReceiveShadows.

Returns
Type Description
Surface

A new Surface with a matte, metallic effect.

BrushedMetal(Color, float, float, ShadowCastingMode, bool)

Create a new, brushed metal surface with a given specular reflection color.

Remarks

Uses the StandardSpecular lighting model.

Declaration
public static Surface BrushedMetal(Color reflectionColor, float smoothness = 0.4F, float metallic = 1F, ShadowCastingMode shadowCasting = ShadowCastingMode.Off, bool receiveShadows = false)
Parameters
Type Name Description
Color reflectionColor

The hue of the surface's specular reflections.

float smoothness

The Smoothness parameter.

float metallic

The Metallic parameter.

ShadowCastingMode shadowCasting

Value for ShadowCastingMode.

bool receiveShadows

Value for ReceiveShadows.

Returns
Type Description
Surface

A new Surface with a matte, metallic effect.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC