Class IgnoreParticleSystemsModifier
- Namespace
- Nautilus.Utility.MaterialModifiers
- Assembly
- Nautilus.dll
A simple material modifier that prevents materials on ParticleSystems from being converted to MarmosetUBER.
public class IgnoreParticleSystemsModifier : MaterialModifier
- Inheritance
-
IgnoreParticleSystemsModifier
- Inherited Members
- Extension Methods
Methods
BlockShaderConversion(Material, Renderer, MaterialType)
Returns true if the given UnityEngine.Renderer is a UnityEngine.ParticleSystemRenderer.
public override bool BlockShaderConversion(Material material, Renderer renderer, MaterialUtils.MaterialType materialType)
Parameters
material
Materialrenderer
RenderermaterialType
MaterialUtils.MaterialType
Returns
EditMaterial(Material, Renderer, int, MaterialType)
Applies changes to the specified material.
public override void EditMaterial(Material material, Renderer renderer, int materialIndex, MaterialUtils.MaterialType materialType)
Parameters
material
Materialrenderer
RenderermaterialIndex
intmaterialType
MaterialUtils.MaterialType