diff options
Diffstat (limited to 'Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedLODGroupMatcher.cs')
-rw-r--r-- | Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedLODGroupMatcher.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedLODGroupMatcher.cs b/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedLODGroupMatcher.cs new file mode 100644 index 0000000..ef1b3c7 --- /dev/null +++ b/Thronefall_v1.0/Thronefall/NGS.MeshFusionPro/CombinedLODGroupMatcher.cs @@ -0,0 +1,20 @@ +namespace NGS.MeshFusionPro; + +public class CombinedLODGroupMatcher : CombinedObjectMatcher<CombinedLODGroup, LODGroupCombineSource> +{ + private LODGroupSettings _settings; + + public override void StartMatching(CombinedLODGroup combinedObject) + { + _settings = combinedObject.Settings; + } + + public override bool CanAddSource(LODGroupCombineSource source) + { + return source.Settings.IsEqual(_settings, 0.01f, 0.01f); + } + + public override void SourceAdded(LODGroupCombineSource source) + { + } +} |