Skip to content

VariantMaterialReplacement

Nebby edited this page Jul 12, 2021 · 1 revision

VariantMaterialReplacement

The Variant Material Replacement is used for replacing a Variant's Material, giving it a new look or unique one to help identifying it in the heat of battle.

Variable Name Description
Renderer Index What Render Index youre targetting for replacing.
The Renderer index can be inspected in RuntimeInspector
Material The Material to use for the replacement
Identifier Used inside a class that inherits from VariantMaterialGrabber
Used for getting InGame ror2 Materials

Interactions with VariantMaterialGrabber

The VariantMaterialGrabber module is used for obtaining RoR2 Vanilla materials. and setting said Material into the VariantMaterialReplacement's empty material variable.

An "Incompelte" VariantMaterialReplacement is identified by:

  • Material: Must be left empty
  • Identifier: Not an Empty string.

Clone this wiki locally