DisplayModeDescription
Description of a how Rhino will display in a viewport. These are the modes that are listed under “Advanced display” in the options dialog.
Inheritance Hierarchy
System.Object
Rhino.Display.DisplayModeDescription
Namespace: Rhino.Display
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
[SerializableAttribute]public class DisplayModeDescription : IDisposable, ISerializable
The DisplayModeDescription type exposes the following members.
Properties
Name
Description
Public Property
AllowObjectAssignment
Public Property
Static Member
AmbientOcclusionId
Public Property
Static Member
ArtisticId
Public Property
Code Example
DisplayAttributes
Public Property
EnglishName
Public Property
Static Member
GhostedId
Public Property
Id
Public Property
InMenu
Public Property
LocalName
Public Property
Static Member
PenId
Public Property
PipelineLocked
Public Property
Static Member
RaytracedId
Public Property
Static Member
RenderedId
Public Property
Static Member
RenderedShadowsId
Public Property
Static Member
ShadedId
Public Property
ShadedPipelineRequired
Public Property
SupportsShadeCommand
Public Property
SupportsShading
Public Property
Static Member
TechId
Public Property
Static Member
WireframeId
Public Property
WireframePipelineRequired
Public Property
Static Member
XRayId
Methods
Name
Description
Public Method
Static Member
AddDisplayMode(DisplayModeDescription)
Public Method
Static Member
AddDisplayMode(String)
Adds a new display mode.
Public Method
Static Member
CopyDisplayMode
Copies an existing display mode.
Public Method
Static Member
DeleteDiplayMode
Obsolete.
Deletes an existing display mode.
Public Method
Static Member
DeleteDisplayMode
Deletes an existing display mode.
Public Method
Dispose.
Releases all resources used by the DisplayModeDescription
Protected Method
Dispose(Boolean)
Releases the unmanaged resources used by the DisplayModeDescription and optionally releases the managed resources
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public Method
Static Member
ExportToFile
Exports a DisplayModeDescription to a Windows-style .ini file.
Protected Method
Finalize
(Overrides Object.Finalize..)
Public Method
Static Member
FindByName
Public Method
Static Member
GetDisplayMode
Public Method
Static Member
Code Example
GetDisplayModes
Gets all display mode descriptions that Rhino currently knows about.
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public Method
Static Member
ImportFromFile
Imports a DisplayModeDescription from a Windows-style .ini file.
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public Method
Static Member
Code Example
UpdateDisplayMode