Class FilterDuplicatedGameObjects
Filter a list of GameObjects on whether they are a duplicate part.
Inheritance
Inherited Members
Namespace: UnityEditor.PixyzPlugin4Unity.Actions
Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
Syntax
public class FilterDuplicatedGameObjects : PixyzAction
Fields
Name | Description |
---|---|
acceptAABBAxisRatio | If the ratio of AABB axis of two part is lower than acceptAABBAxisRatio, they will be considered duplicated. |
acceptAABBCenterDistance | If the ratio of AABB centers of two part is lower than acceptAABBCenterRatio, they will be considered duplicated. |
acceptPolyCountRatio | If the ratio of polygon counts of two part is lower than acceptPolycountRatio, they will be considered duplicated. |
acceptVolumeRatio | If the ratio of volumes of two part is lower than acceptVolumeRatio, they will be considered duplicated. |
filterMode | Filter In: Keep filtered GameObjects Filter Out: Remove filtered GameObjects |
includeSubhierachy | Automatically pass all descendents of any GameObject that matches the filter |
Properties
Name | Description |
---|---|
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. |
MeshSyncType | Returns how the meshes are synced back from Pixyz to Unity |
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 |
---|---|
Run(OccurrenceList) | Runs in Pixyz context. To be overriden in the derived class. |