Skip to content

HasGearDynamicMaterialBoolDriver

Inheritance 4 ancestors · 50 siblings

Class Documentation

Edit documentation

A bool driver that is true when the gear the source has equipped is mGearIndex. Skins with gear use it to switch textures, materials and submeshes for each gear.

The source must be a game object with gear. The driver returns false without one.

GetGearIndexIntDriver returns the same gear index as a number, and EquippedGearParametricUpdater gives it to an animation graph.

Properties

mGearIndex

U8 = 0
Edit documentation

The gear to compare with. Gears count from 0.