Table of Contents

Class ColorModifier

Namespace
Nautilus.Utility.MaterialModifiers
Assembly
Nautilus.dll
Basic material modifier that sets the UnityEngine.Material.color property on all materials.
public sealed class ColorModifier : MaterialModifier
Inheritance
ColorModifier
Inherited Members
Extension Methods

Constructors

ColorModifier(Color)

Sets the UnityEngine.Material.color property on all materials.
public ColorModifier(Color color)

Parameters

color Color

Methods

EditMaterial(Material, Renderer, int, MaterialType)

Applies the color changes to the material.
public override void EditMaterial(Material material, Renderer renderer, int materialIndex, MaterialUtils.MaterialType materialType)

Parameters

material Material
renderer Renderer
materialIndex int
materialType MaterialUtils.MaterialType