Click or drag to resize

MeshAnalysisShadingOption Class

Basic shading option class.

Create derived class and mark it with the attribute MeshAnalysisShadingAttribute to add a new shading option to the shading options menu of a MeshAnalysisWindow.

Inheritance Hierarchy

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
[PublicAPIAttribute]
public abstract class MeshAnalysisShadingOption : IHaveAlias

The MeshAnalysisShadingOption type exposes the following members.

Constructors
  NameDescription
Protected methodMeshAnalysisShadingOption
Initializes a new instance of the MeshAnalysisShadingOption class
Top
Properties
  NameDescription
Public propertyPriority
Gets the priority of the shading option in an options list.
Public propertyTitle
Gets the name of shading option.
Public propertyWireframe

Gets or sets a value indicating whether a mesh should be drawn in wireframe mode.

Top
Methods
  NameDescription
Public methodDeinitialize
Deinitialize the shading option and release used resources.
Public methodDrawDescription
Draw the description in the target position.
Public methodDrawSettings
Draw settings in the target position.
Public methodGetDescriptionWindowSize
Returns the size of the description window.
Public methodGetHaveSettings
Returns a value indicating whether the shading option has settings.
Public methodGetMaterials
Get materials which will be applied to the shaded mesh.
Public methodGetSettingsHeight
Returns the height of a settings popup.
Public methodGetSettingsWidth
Returns the width of a settings popup.
Public methodHasDescription
Returns a value indicating whether the shading option has a description.
Public methodInitialize
Initialize the shading option for a specified mesh.
Top
See Also