MentalRayRenderSettingsTraits2 Class

This class represents render settings for the Mental Ray Renderer.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Teigha.RuntimeDisposableWrapper
      Teigha.RuntimeRXObject
        Teigha.GraphicsInterfaceDrawableTraits
          Teigha.GraphicsInterfaceSubEntityTraits
            Teigha.GraphicsInterfaceNonEntityTraits
              Teigha.GraphicsInterfaceRenderSettingsTraits
                Teigha.GraphicsInterfaceMentalRayRenderSettingsTraits
                  Teigha.GraphicsInterfaceMentalRayRenderSettingsTraits2

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

The MentalRayRenderSettingsTraits2 type exposes the following members.

Constructors
  Name Description
Protected method MentalRayRenderSettingsTraits2 Constructor for the MentalRayRenderSettingsTraits2 class.
Top
Properties
  Name Description
Public property AutoDelete Property that indicates whether the object should be automatically deleted by the Garbage Collector.
(Inherited from DisposableWrapper)
Public property BackFacesEnabled Property that indicates whether back faces should be rendered.
(Inherited from RenderSettingsTraits)
Public property Color Property that represents the current color index (ACI). Color must be one of the following: Name Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h
(Inherited from NonEntityTraits)
Public property DiagnosticBackgroundEnabled Property that indicates whether checkerboard (diagnostic) background should be used for rendering.
(Inherited from RenderSettingsTraits)
Public property DiagnosticBSPMode Property that represents type of BSP information to render images within the BSP diagnostic mode. This property can be one of the following: Name Value Description Depth 0 BSP depth: the depth reached in the BSP tree. Size 1 BSP leaf size: the leaf size reached in the BSP tree.
(Inherited from MentalRayRenderSettingsTraits)
Public property DiagnosticGridMode Property that represents MentalRayRenderSettingsTraitsDiagnosticGridModeParameter instance that encapsulates the coordinate system for the diagnostic grid and the distance between grid lines (size).
(Inherited from MentalRayRenderSettingsTraits)
Public property DiagnosticMode Property that represents mode used to process diagnostic images. This property can be one of the following: Name Value Description Off 0 Render normally. Grid 1 Render a grid on top of all objects in the scene, in the coordinate system specified with a value from DiagnosticGridMode property. Photon 2 Render a false-color image of photon density or photon irradiance on all surfaces, as specified with value from GraphicsInterface::DiagnosticPhotonMode enum. Higher density or irradiance is shown red, and lower values are represented with blue.. Samples 3 Render a grayscale image illustrating sample density, which is controlled with the Sampling property. Higher levels of sampling are shown with brighter shades of gray. BSP 4 Render a false-color image illustrating the cost of creating and traversing the BSP tree used for ray-tracing. Both the depth and the leaf size can be visualized, as specified with value from GraphicsInterface::DiagnosticBSPMode enum.
(Inherited from MentalRayRenderSettingsTraits)
Public property DiagnosticPhotonMode Property that represents the type of photon information to render images within the photon diagnostic mode.
(Inherited from MentalRayRenderSettingsTraits)
Public property DrawFlags Property that represents the drawing flags.
(Inherited from NonEntityTraits)
Public property EnergyMultiplier Property that represents the energy multiplier to control the magnitude of indirect illumination.
(Inherited from MentalRayRenderSettingsTraits)
Public property ExportMIEnabled Property that indicates whether to export MI file after image is rendered.
(Inherited from MentalRayRenderSettingsTraits)
Public property ExportMIFileName Property that represents file name for an exported MI file.
(Inherited from MentalRayRenderSettingsTraits)
Public property ExposureType Property that represents the exposure type. This property can be one of the following: Name Value Description Automatic 0 The exposure type is determined with an automatic exposure. Logarithmic 1 The exposure type is determined on a logarithmic scale.
Public property FGRayCount Property that represents the amount of final gather rays to use for each final gather point.
(Inherited from MentalRayRenderSettingsTraits)
Public property FGSampleRadius Property that represents user-defined radii that are used for final gathering and their measurement units.
(Inherited from MentalRayRenderSettingsTraits)
Public property FGSampleRadiusState Property that represents MentalRayRenderSettingsTraitsBoolParameter instance that indicates whether user-defined radii are used for final gathering and their measurement units.
(Inherited from MentalRayRenderSettingsTraits)
Public property FillType Property that represents current fill type. This property can be one of the following: Name Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives. Closed graphic primitives consist of the following: * arcs with (ArcType == ArcSector) || (ArcType == ArcChord) * circles * meshes * polygons * shells
(Inherited from NonEntityTraits)
Public property FinalGatheringEnabled Property that indicates whether global illumination should be enabled.
(Inherited from MentalRayRenderSettingsTraits)
Public property FinalGatheringMode Property that represents final gathering mode. This property can be one of the following: Name Value Description FinalGatherOff 0 Final gathering is off. FinalGatherOn 1 Final gathering is on. FinalGatherAuto 2 Final gathering mode is defined automatically.
Public property GIPhotonsPerLight Property that represents the average number of photons to emit for each light source.
(Inherited from MentalRayRenderSettingsTraits)
Public property GISampleCount Property that represents the maximum number of photons surrounding a render sample point to use for calculation of global illumination.
(Inherited from MentalRayRenderSettingsTraits)
Public property GISampleRadius Property that represents the radius of the sample area of photons used for global illumination.
(Inherited from MentalRayRenderSettingsTraits)
Public property GISampleRadiusEnabled Property that indicates whether user-defined photon sampling radius should be used.
(Inherited from MentalRayRenderSettingsTraits)
Public property GlobalIlluminationEnabled Property that indicates whether global illumination effects (for example, color bleeding) should be enabled.
(Inherited from MentalRayRenderSettingsTraits)
Public property IsDisposed Property that indicates whether pointer to native code unmanaged object == IntPtr::Zero.
(Inherited from DisposableWrapper)
Public property Layer Property that represents object identifier of current layer.
(Inherited from NonEntityTraits)
Public property LightLuminanceScale Property that represents the physical luminance of a light with intensity 1.0 (in candelas).
(Inherited from MentalRayRenderSettingsTraits)
Public property LineType Property that represents object identifier of current linetype.
(Inherited from NonEntityTraits)
Public property LineTypeScale Property that represents current linetype scale.
(Inherited from NonEntityTraits)
Public property LineWeight Property that represents current lineweight.
(Inherited from NonEntityTraits)
Public property Mapper Property that represents current material mapper.
(Inherited from NonEntityTraits)
Public property Material Property that represents object identifier of current material.
(Inherited from NonEntityTraits)
Public property MaterialEnabled Property that indicates whether per-object materials should be used.
(Inherited from RenderSettingsTraits)
Public property MemoryLimit Property that represents the maximum amount of memory that can be allocated for rendering in MB.
(Inherited from MentalRayRenderSettingsTraits)
Public property ModelScaleFactor Property that represents model scale related to meters. For example, if the model is drawn in kilometers, the scale factor is 1000.0. This is later used for the global illumination.
(Inherited from RenderSettingsTraits)
Public property PhotonTraceDepth Property that represents the maximum depth (recursion level) for traced photons.
(Inherited from MentalRayRenderSettingsTraits)
Public property PlotStyleDescriptor Property that represents PlotStyleDescriptor instance that encapsulates object identifier of a plot and plot style type.
(Inherited from NonEntityTraits)
Public property ProgressMonitor Property that represents the interface pointer for the render driver to callback.
(Inherited from MentalRayRenderSettingsTraits)
Public property RayTraceDepth Property that represents MentalRayRenderSettingsTraitsTraceParameter instance encapsulating the maximum depth (recursion depth) parameters for traced rays.
(Inherited from MentalRayRenderSettingsTraits)
Public property RayTraceEnabled Property that indicates whether ray tracing should be enabled.
(Inherited from MentalRayRenderSettingsTraits)
Public property Sampling Property that represents MentalRayRenderSettingsTraitsIntegerRangeParameter instance that encapsulates the minimum and maximum numbers of samples that are used for pixel shading process during rendering.
(Inherited from MentalRayRenderSettingsTraits)
Public property SamplingContrastColor Property that represents MentalRayRenderSettingsTraitsFloatParameter instance that encapsulates the threshold values for color channels (r, g, b, a) below which further samples are not accepted.
(Inherited from MentalRayRenderSettingsTraits)
Public property SamplingFilter Property that represents MentalRayRenderSettingsTraitsSamplingParameter instance that encapsulates the filtering parameters for merging multiple samples into a pixel color.
(Inherited from MentalRayRenderSettingsTraits)
Public property Sectionable Property that indicates whether sectioning is enabled.
(Inherited from NonEntityTraits)
Public property SelectionFlags Property that represents selection flags.
(Inherited from NonEntityTraits)
Public property SelectionOnlyGeometry Property that indicates whether only geometry is selected.
(Inherited from NonEntityTraits)
Public property ShadowFlags Property that represents shadow flags.
(Inherited from NonEntityTraits)
Public property ShadowMapEnabled Property that indicates whether shadow maps should be enabled. Affects only lights using mapped shadows.
(Inherited from MentalRayRenderSettingsTraits)
Public property ShadowMode Property that represents the method used to compute ray-traced shadows. Affects only lights using ray-traced shadows. This property can be one of the following: Name Value Description Simple 0 Simple shadows, no sorting of shadow rays is performed. Sorted 1 Shadow sorting is performed, from sample point to light. Segments 2 Shadow segmenting is performed, from light to sample point.
(Inherited from MentalRayRenderSettingsTraits)
Public property ShadowSamplingMultiplier Property that represents shadow sampling multiplier value.
Public property ShadowsEnabled Property that indicates whether shadows should be rendered.
(Inherited from RenderSettingsTraits)
Public property TextureSampling Property that indicates whether texture sampling (filtering) should be used for image textures.
(Inherited from RenderSettingsTraits)
Public property Thickness Property that represents current thickness value.
(Inherited from NonEntityTraits)
Public property TileOrder Property that represents the order used to render image tiles. This property can be one of the following: Name Value Description Hilbert 0 Hilbert order. Spiral 1 Spiral order. LeftToRight 2 Left-to-right order. RightToLeft 3 Right-to-left order. TopToBottom 4 Top-to-bottom order. BottomToTop 5 Bottom-to-top order.
(Inherited from MentalRayRenderSettingsTraits)
Public property TileSize Property that represents the size of the image tiles used during rendering.
(Inherited from MentalRayRenderSettingsTraits)
Public property Transparency Property that represents current transparency.
(Inherited from NonEntityTraits)
Public property TrueColor Property that represents color as Colors::EntityColor instance.
(Inherited from NonEntityTraits)
Public property UnmanagedObject Property that represents a pointer to an unmanaged object.
(Inherited from DisposableWrapper)
Public property VisualStyle Property that represents object identifier of current visual style.
(Inherited from NonEntityTraits)
Top
Methods
  Name Description
Public method AddLight Drawables that emit light can add one or more lights to the model. Through this interface, light position, intensity and other properties are sent to the graphics system. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
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 NonEntityTraits)
Public method SetSelectionMarker Sets the SubEntityTraits object to use the specified graphics marker for all graphics primitives drawn until the next call to this function, or the end of WorldDraw() or ViewportDraw() execution. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
Public method SetupForEntity Initializes all subentity traits and drawable traits from the entity. This can be more convenient than setting each property individually. Default implementation of this method throws the NotSupportedException exception.
(Inherited from NonEntityTraits)
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.