PhysicallyBasedMaterial

References
public class PhysicallyBasedMaterial

Properties

Alpha

#Since v7.1
public double Alpha { get; set; }

Anisotropic

#Since v7.0
public double Anisotropic { get; set; }

AnisotropicRotation

#Since v7.0
public double AnisotropicRotation { get; set; }

BaseColor

#Since v7.0
public Color4f BaseColor { get; set; }

BRDF

#Since v7.0
public PhysicallyBasedMaterial.BRDFs BRDF { get; set; }

Clearcoat

#Since v7.0
public double Clearcoat { get; set; }

ClearcoatRoughness

#Since v7.0
public double ClearcoatRoughness { get; set; }

Emission

#Since v7.0
public Color4f Emission { get; set; }

Material

#Since v7.0
public Material Material { get; }

Metallic

#Since v7.0
public double Metallic { get; set; }

Opacity

#Since v7.0
public double Opacity { get; set; }

OpacityIOR

#Since v7.0
public double OpacityIOR { get; set; }

OpacityRoughness

#Since v7.0
public double OpacityRoughness { get; set; }

ReflectiveIOR

#Since v7.0
public double ReflectiveIOR { get; set; }

Roughness

#Since v7.0
public double Roughness { get; set; }

Sheen

#Since v7.0
public double Sheen { get; set; }

SheenTint

#Since v7.0
public double SheenTint { get; set; }

Specular

#Since v7.0
public double Specular { get; set; }

SpecularTint

#Since v7.0
public double SpecularTint { get; set; }

Subsurface

#Since v7.0
public double Subsurface { get; set; }

SubsurfaceScatteringColor

#Since v7.0
public Color4f SubsurfaceScatteringColor { get; set; }

SubsurfaceScatteringRadius

#Since v7.0
public double SubsurfaceScatteringRadius { get; set; }

UseBaseColorTextureAlphaForObjectAlphaTransparencyTexture

#Since v7.1
public bool UseBaseColorTextureAlphaForObjectAlphaTransparencyTexture { get; set; }

Methods

GetTexture

#Since v7.0
public Texture GetTexture(TextureType which)
Get the texture that corresponds with the specified texture type for this material.
which (TextureType)

GetTextures

#Since v7.0
public Texture[] GetTextures()
Get array of textures that this material uses

SetTexture

#Since v7.0
public bool SetTexture(Texture texture, TextureType which)
Set the texture that corresponds with the specified texture type for this material.
texture (Texture)An instance of Rhino.DocObjects.Texture
which (TextureType)Use Rhino.DocObjects.TextureType

SynchronizeLegacyMaterial

#Since v7.0
public void SynchronizeLegacyMaterial()