ViewportTraits Class

This class gives viewports the opportunity to pass per-viewport properties to the display and rendering systems.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceViewportTraits

Namespace: Teigha.GraphicsInterface
Assembly: TD_Mgd (in TD_Mgd.dll) Version: 26.9.0.0
Syntax
public abstract class ViewportTraits : SubEntityTraits

The ViewportTraits type exposes the following members.

Constructors
  Name Description
Public method ViewportTraits Default constructor for the ViewportTraits class.
Protected method ViewportTraits(IntPtr, Boolean) Constructor for the ViewportTraits class.
Top
Properties
  Name Description
Public property AmbientLightColor Property that represents the ambient color (color in the shadows) of this viewport.
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property Background Property that represents the persistent object identifier of a background for this viewport.
Public property Brightness Property that represents the brightness of this viewport in the range [0..200].
Public property Color Property that represents a subentity color.
(Inherited from SubEntityTraits)
Public property Contrast Property that represents the contrast of this viewport in the range [0..100].
Public property DefaultLightingOn Property that indicates whether default lighting is turned on.
Public property DefaultLightingType Property that represents the default lighting type for this viewport.
Public property DrawFlags Property that represents drawing flags.
(Inherited from SubEntityTraits)
Public property FillType Property that represents the current fill type for graphic primitives.
(Inherited from SubEntityTraits)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property Layer Property that represents a persistent object identifier of a layer.
(Inherited from SubEntityTraits)
Public property LineType Property that represents the persistent object identifier of a linetype.
(Inherited from SubEntityTraits)
Public property LineTypeScale Property that represents the scale of a linetype.
(Inherited from SubEntityTraits)
Public property LineWeight Property that represents a lineweight.
(Inherited from SubEntityTraits)
Public property Mapper Property that represents a material mapper.
(Inherited from SubEntityTraits)
Public property Material Property that represents the persistent object identifier of a material.
(Inherited from SubEntityTraits)
Public property PlotStyleDescriptor Property that represents a plot style descriptor.
(Inherited from SubEntityTraits)
Public property RenderEnvironment Property that represents a persistent object identifier of a render environment for this viewport. Used only in full renders.
Public property RenderSettings Property that represents a persistent object identifier of render settings for this viewport. Used only in full renders.
Public property Sectionable Property that indicates whether this entity is sectionable.
(Inherited from SubEntityTraits)
Public property SelectionFlags Property that represents section flags.
(Inherited from SubEntityTraits)
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
(Inherited from SubEntityTraits)
Public property ShadowFlags Property that represents shadow flags.
(Inherited from SubEntityTraits)
Public property Thickness Property that represents thickness.
(Inherited from SubEntityTraits)
Public property Transparency Property that represents the transparency of a sub-entity.
(Inherited from SubEntityTraits)
Public property TrueColor Property that represents the true color of a subentity.
(Inherited from SubEntityTraits)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property VisualStyle Property that represents the persistent object identifier of a visual style.
(Inherited from SubEntityTraits)
Top
Methods
  Name Description
Public method AddLight Drawables that emit light are able to append one or more "lights" to the model. The default implementation of this method ignores the passed light. Must be implemented in derived classes.
(Inherited from DrawableTraits)
Public method Clone Creates a *clone* of this object, and returns a pointer to the *clone*.
(Inherited from RXObject)
Public method CompareTo Allows classes to compare class objects.
(Inherited from RXObject)
Public method CopyFrom Copies the contents of the specified object into this object.
(Inherited from RXObject)
Public method CreateObjRef
(Inherited from MarshalByRefObject)
Protected method DeleteUnmanagedObject
(Inherited from RXObject)
Public method Dispose
(Inherited from DisposableWrapper)
Protected method Dispose(Boolean)
(Inherited from DisposableWrapper)
Public method Equals Checks objects for equality.
(Inherited from DisposableWrapper)
Protected method Finalize
(Inherited from DisposableWrapper)
Public method GetHashCode Retrieves the object hash code.
(Inherited from DisposableWrapper)
Public method GetLifetimeService
(Inherited from MarshalByRefObject)
Public method GetMetaObject
(Inherited from RXObject)
Public method GetRXClass Gets a class describing instance dynamically associated with this object as the OdRxClass object.
(Inherited from RXObject)
Public method GetType
(Inherited from Object)
Public method InitializeLifetimeService
(Inherited from MarshalByRefObject)
Protected method MemberwiseClone
(Inherited from Object)
Protected method MemberwiseClone(Boolean)
(Inherited from MarshalByRefObject)
Public method QueryX Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class.
(Inherited from RXObject)
Protected method SetLayerFlags
(Inherited from DrawableTraits)
Public method SetSelectionMarker Sets the current selection marker.
(Inherited from SubEntityTraits)
Public method SetupForEntity Initializes the traits that are set with the SubEntityTraits and DrawableTraits methods for the specified entity.
(Inherited from DrawableTraits)
Public method ToString
(Inherited from Object)
Public method X Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class, or throws an exception if it cannot.
(Inherited from RXObject)
Top
See Also

©  Bricsys NV. All rights reserved.