[TypeName("Display Attributes")] [TypeDescription("Rhino object display attributes")] public sealed class ObjectDisplay : ModelValue
Represents a Rhino object display attributes.

Constructors

ObjectDisplay

#
public ObjectDisplay()

ObjectDisplay

#
public ObjectDisplay(
Attributes
attributes
)

Properties

Color

#
public ObjectDisplayColor.Value? Color { get; }

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

Mode

#
[Browsable(false)] public ModelDisplayMode Mode { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

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

WireDensity

#
public int? WireDensity { get; }

Methods

AsFrozen

#
protected internal ObjectDisplay AsFrozen()

Cast

#
public static ObjectDisplay Cast(
source
)

CastTo<T>

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

Clone

protected virtual object Clone()
inherited fromModelValue

Equals

#
public override bool Equals(
other
)
Object.Equals

GetHashCode

#
public override int GetHashCode()

Read

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

ScriptVariable

#
protected internal override object ScriptVariable()

ToAttributes

#
public ObjectDisplay.Attributes ToAttributes()

ToDetails

#
public string ToDetails()

TooltipString

public virtual string TooltipString()
inherited fromModelValue
ToString

ToString

public override string ToString()
inherited fromModelValue
Object.ToString

Write

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

Convertors

OperationResultDescription
implicitObjectDisplay.AttributesObjectDisplay