Class PixyzAction
Base class that should be used if an Action need to make calls to the Pixyz API
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public abstract class PixyzAction : ActionInOut<IList<GameObject>, IList<GameObject>>
Fields
| Name | Description |
|---|---|
| kStartProgress | Start progress |
| m_EntityToObject | Stores links between Unity Objects and translated entities |
| m_GameObjectToOccurrences | Stores links between input GameObjects and translated occurrences |
| m_LocalRoots | Local root occurrences |
| m_OutputOccurrences | Output occurrences |
Properties
| Name | Description |
|---|---|
| API | Pixyz session |
| Algo | Pixyz Algo module |
| CAD | Pixyz CAD module |
| Converter | The converter currently in used to translate from/to pixyz |
| Core | Pixyz Core module |
| Geom | Pixyz Geom module |
| HierarchyMode | Returns how the hierarchy is synced with pixyz |
| IsAsync | Should the Action be fired in as a Task |
| Material | Pixyz Material module |
| MeshSyncType | Returns how the meshes are synced back from Pixyz to Unity |
| Polygonal | Pixyz Polygonal module |
| Scene | Pixyz Scene module |
| SyncMaterials | Returns how material are synced with pixyz |
| View | Pixyz View module |
Methods
| Name | Description |
|---|---|
| CleanList(ref IList<GameObject>) | Remove all null value from the inputed list |
| Dispose() | Dispose action and clean memory |
| PostProcess(ref IList<GameObject>) | Use to modify the output after the 'Run' method is executed. Always executed on the main thread. |
| PreProcess(ref IList<GameObject>) | Use to validate/modify the input before the 'Run' method is executed. Always executed on the main thread. |
| Run(IList<GameObject>) | Abstract execution method. When creating a new Action, this method implementation will hold all the processing code. Executed on a background thread if IsAsync is true. |
| Run(OccurrenceList) | Runs in Pixyz context. To be overriden in the derived class. |