[TypeName("Render Attributes")] [TypeDescription("Rhino object render attributes")] public sealed class ObjectRender : ModelValue
Represents a Rhino object render attributes.

Constructors

ObjectRender

#
public ObjectRender()

ObjectRender

#
public ObjectRender(Attributes attributes)
attributes (ObjectRender.Attributes)

Properties

CastsShadows

#
public bool? CastsShadows { 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

Material

#
public ObjectRenderMaterial.Value? Material { get; }

MeshingParameters

#
[Browsable(false)] public ModelMeshingParameters MeshingParameters { get; }

ReceivesShadows

#
public bool? ReceivesShadows { get; }

TextureMappings

#
public IReadOnlyList<ModelTextureMapping> TextureMappings { get; }

TypeDescription

protected string TypeDescription { get; }
inherited fromModelValue
TypeDescription

TypeName

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

Methods

AsFrozen

#
protected internal ObjectRender AsFrozen()

Cast

#
public static ObjectRender 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()

ToAttributes

#
public ObjectRender.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(GH_IWriter writer)
writer (GH_IWriter)
ModelValue.Write

Convertors

OperationResultDescription
implicitObjectRender.AttributesObjectRender