TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ SetCompositeArmFront()

void Terraria.Player.SetCompositeArmFront ( bool enabled,
CompositeArmStretchAmount stretch,
float rotation )
inline

Definition at line 4862 of file Player.cs.

4863 {
4864 if (gravDir == -1f)
4865 {
4866 rotation = 0f - rotation;
4867 }
4868 compositeFrontArm = new CompositeArmData(enabled, stretch, rotation);
4869 }
CompositeArmData compositeFrontArm
Definition Player.cs:2056

References Terraria.Player.compositeFrontArm, and Terraria.Player.gravDir.

Referenced by Terraria.Player.ItemCheck_ApplyHoldStyle_Inner(), and Terraria.Player.ItemCheck_ApplyUseStyle_Inner().

+ Here is the caller graph for this function: