Class RemoveHoles
Remove holes from meshes to reduce polygon count.
Inheritance
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class RemoveHoles : PixyzAction
Fields
| Name | Description |
|---|---|
| blindHoles | Blind holes partly go through the volume of an object. |
| maxDiameter | Remove holes which diameter is less than specified value. Remove all holes if less than 0. |
| surfacicHoles | Surface holes are cut into a surface and don't have depth. Their edges are boundaries (shown in blue when viewing edges). |
| throughHoles | Through holes entirely go through the volume of an object and come out on the other side. |
Properties
| Name | Description |
|---|---|
| Icon | Icon to be displayed in Toolbox and Rule Engine. If null, no icon will be displayed. To support light and dark themes: specify light theme path. Dark theme file name should be the same with a "d_" prefix. To support selected and unselected states: selected files names should be the same as main files but with a "s_" prefix. |
| Id | The id of the Acton implementation. This id should be unique and is readonly. The id is the actual reference if the Action is serialized (in a set of RuleEngine Rules for example). |
| MenuPathRuleEngine | The menu path for the RuleEngine. |
| MenuPathToolbox | The menu path for the Toolbox. |
| Priority | The order to use when placing this Action in a list. If the value is -1, the display name will be used instead; |
| SyncMaterials | Returns how material are synced with pixyz |
| Tooltip | Returns the tooltip. |
Methods
| Name | Description |
|---|---|
| GetWarnings() | Virtual method for Warning checks before execution. |
| Run(OccurrenceList) | Runs in Pixyz context. To be overriden in the derived class. |
| Validate(object) | Called to validated/check the new input (new selection in the editor with toolbox action, or before running action in ruleset) |