Skip to content

GetGearIndexIntDriver

14.6

Class Documentation

Edit documentation

An int driver that returns the gear index of the source: the number that HasGearDynamicMaterialBoolDriver compares with its mGearIndex. The index is signed and can be -1.

The source can be any game object that has gear. For a source without gear, and without a source, the driver returns 0.