Class DecimateAction
Decimate input to the desired quality
Inheritance
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Toolbox
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class DecimateAction : PixyzFunction
Fields
| Name | Description |
|---|---|
| advancedParametersQuality | Define parameters for quality driven decimation |
| advancedParametersTarget | Defines all parameters related to decimate target |
| criterion | Define how the decimation is driven |
| decimationToTargetStrategy | Defines what is type is the limit for decimate target |
| paramsQuality | Define the quality preset used for quality driven decimation |
| polycount | Defines the target number of triangle when the limit type is set to triangle count |
| preservePaintedAreas | Defines if vertex colors informations can be used to preserve some area from decimation to keep the topology quality |
| previousParamsQuality | Store the last preset selected quality decimation |
| targetRatio | Define the target ratio or triangle when the limit type is set to ratio |
Properties
| Name | Description |
|---|---|
| HierarchyMode | Returns how the hierarchy is synced with pixyz |
| SyncMaterials | Returns how material are synced with pixyz |
| id | Unique id of this action, generated when the file is generated |
| menuPathRuleEngine | The path used for the contextual menu in the RuleEngine |
| menuPathToolbox | The path used for the contextual menu in the Toolbox |
| tooltip | Quick description to describe the behavior of this action |
Methods
| Name | Description |
|---|---|
| getErrors() | Check if the current context will allow the correct execution of this action |
| onBeforeDraw() | Called before the ui editor code for this action is called |
| postProcess() | Process the result of the action to be used into the source context in it's final form. |
| process() | Execute the behavior of this action by decimating all mesh from the input |