Gets or sets if Fresnel reflections are used.
Gets or sets the ID of the current instance.
Gets or sets the index of refraction of the material, generally
= 1.0 (speed of light in vacuum)/(speed of light in material)
True if this model component is a system constant. An incomplete list of system constant model components is below:ON_ModelComponent::Unset ON_InstanceDefinition::Empty ON_Linetype::UnsetON_Linetype::ContinuousON_Linetype::ByLayerON_Linetype::ByParent ON_Layer::UnsetON_Layer::Default ON_TextStyle::UnsetON_TextStyle::DefaultON_TextStyle::ByLayerON_TextStyle::ByParent ON_DimStyle::UnsetON_DimStyle::DefaultON_DimStyle::DefaultInchDecimalON_DimStyle::DefaultInchFractionalON_DimStyle::DefaultFootInchArchitectureON_DimStyle::DefaultMillimeterSmallON_DimStyle::DefaultMillimeterLargeON_DimStyle::DefaultMillimeterArchitecture
Tests an object to see if it is valid.
...
Very simple preview color function for GUIs.
Gets or sets the reflection glossiness.
Gets or sets how reflective a material is, 0f is no reflection 1f is 100% reflective.
Gets or sets the refraction glossiness.
The Id of the RenderPlugIn that is associated with this material.
Gets or sets the shine factor of the material.
Gets or sets the transparency of the material (0.0 = opaque to 1.0 = transparent)
Gets the amount of user strings.
Get the texture that corresponds with the specified texture type for this material.
...
Static
compareStatic
decodeA json formatted object in the following format (values are orientative):
{
version: 10000,
archive3dm: 60,
opennurbs: -1877964208,
data: 'encoded 3dm object data'
}
Decodes a Rhino Object
Generated using TypeDoc
Gets or sets the Fresnel index of refraction of the material, default is 1.56