ObjectRenderMaterial

ModelValueReferences
[TypeName("Object Material")] [TypeDescription("Rhino object material")] public sealed class ObjectRenderMaterial : ModelValue
Represents a Rhino object material.

Constructors

ObjectRenderMaterial

#
public ObjectRenderMaterial()

ObjectRenderMaterial

#
public ObjectRenderMaterial(Value value)
value (ObjectRenderMaterial.Value)

Properties

DisplayName

#
[Browsable(false)] public override string DisplayName { get; }

IsValid

[Browsable(false)] public virtual bool IsValid { get; }
inherited fromModelValue
IsValid

IsValidWhyNot

protected virtual string IsValidWhyNot { get; }
inherited fromModelValue
IsValidWhyNot

Material

#
public ModelRenderMaterial Material { get; }

Source

#
public ObjectMaterialSource Source { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

[Browsable(false)] public virtual string TypeName { get; }
inherited fromModelValue
TypeName

Methods

Cast

#
public static ObjectRenderMaterial Cast(object source)
source (object)

CastTo<T>

#
public override bool CastTo<T>(ref T target)
target (ref T)

Clone

protected virtual object Clone()
inherited fromModelValue

Equals

#
public override bool Equals(object other)
other (object)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Read

#
protected internal override bool Read(GH_IReader reader)
reader (GH_IReader)
ModelValue.Read

ScriptVariable

#
protected internal override object ScriptVariable()

TooltipString

public virtual string TooltipString()
inherited fromModelValue
ToString

ToString

public override string ToString()
inherited fromModelValue
Object.ToString

Write

#
protected internal override bool Write(GH_IWriter writer)
writer (GH_IWriter)
ModelValue.Write

Convertors