Skip to main content

Directive

WLJS
Execution environment

Used for styling plots or 3D graphics primitives

Directive[directives___, opts___Rule]

Directives

_RGBColor

Set the working color

Options

FontSize

FontFamily

"Color"

Accepts _RGBColor

"Emissive"

Accepts _RGBColor

"EmissiveIntensity"

Accepts _Real from 0 to 1

"Roughness"

Accepts _Real from 0 to 1

"Metalness"

Accepts _Real from 0 to 1

"Ior"

Accepts _Real from 0 to 100

"Transmission"

Accepts _Real from 0 to 1

"Thinfilm"

"MaterialThickness"

"Attenuationcolor"

Accepts _RGBColor

"AttenuationDistance"

"Opacity"

Accepts _Real from 0 to 1

"Clearcoat"

"ClearcoatRoughness"

"SheenColor"

"SheenRoughness"

"Iridescence"

"IridescenceIor"

"IridescenceThickness"

"Specularcolor"

Accepts _RGBColor

"SpecularIntensity"

"Matte"

"Flatshading"

"Castshadow"