MeshAnalysisShadingOption 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.
Namespace: HightlanderSolutions.MeshCheckerEditorExtension.MeshAnalysisFramework.API
[PublicAPIAttribute] public abstract class MeshAnalysisShadingOption : IHaveAlias
The MeshAnalysisShadingOption type exposes the following members.
Name | Description | |
---|---|---|
MeshAnalysisShadingOption | Initializes a new instance of the MeshAnalysisShadingOption class |
Name | Description | |
---|---|---|
Priority |
Gets the priority of the shading option in an options list.
| |
Title |
Gets the name of shading option.
| |
Wireframe | Gets or sets a value indicating whether a mesh should be drawn in wireframe mode. |
Name | Description | |
---|---|---|
Deinitialize |
Deinitialize the shading option and release used resources.
| |
DrawDescription |
Draw the description in the target position.
| |
DrawSettings |
Draw settings in the target position.
| |
GetDescriptionWindowSize |
Returns the size of the description window.
| |
GetHaveSettings |
Returns a value indicating whether the shading option has settings.
| |
GetMaterials |
Get materials which will be applied to the shaded mesh.
| |
GetSettingsHeight |
Returns the height of a settings popup.
| |
GetSettingsWidth |
Returns the width of a settings popup.
| |
HasDescription |
Returns a value indicating whether the shading option has a description.
| |
Initialize |
Initialize the shading option for a specified mesh.
|