Class DoubleSidedModifier
- Namespace
- Nautilus.Utility.MaterialModifiers
- Assembly
- Nautilus.dll
A material modifier that changes materials of the specified type to be double-sided.
public class DoubleSidedModifier : MaterialModifier
- Inheritance
-
DoubleSidedModifier
- Inherited Members
- Extension Methods
Constructors
DoubleSidedModifier(params MaterialType[])
Changes all materials of the types defined in
typesToAffect to be double-sided.public DoubleSidedModifier(params MaterialUtils.MaterialType[] typesToAffect)
Parameters
typesToAffectMaterialType[]- Only materials with these types will be affected.
Methods
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
materialMaterialrendererRenderermaterialIndexintmaterialTypeMaterialUtils.MaterialType