tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.Generation.ShapeRoot Class Reference

Inherits Terraria.WorldBuilding.GenShape.

Public Member Functions

 ShapeRoot (float angle, float distance=10f, float startingSize=4f, float endingSize=1f)
 
override bool Perform (Point origin, GenAction action)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenShape
GenShape Output (ShapeData outputData)
 
abstract bool Perform (Point origin, GenAction action)
 
GenShape QuitOnFail (bool value=true)
 
- Public Member Functions inherited from Terraria.WorldBuilding.GenBase
delegate bool CustomPerUnitAction (int x, int y, params object[] args)
 

Additional Inherited Members

- Protected Member Functions inherited from Terraria.WorldBuilding.GenShape
bool UnitApply (GenAction action, Point origin, int x, int y, params object[] args)
 
- Protected Attributes inherited from Terraria.WorldBuilding.GenShape
bool _quitOnFail
 
- Properties inherited from Terraria.WorldBuilding.GenBase
static UnifiedRandom _random [get]
 
static ref Tilemap _tiles [get]
 
static int _worldHeight [get]
 
static int _worldWidth [get]
 

Member Function Documentation

◆ Perform()

override bool Terraria.GameContent.Generation.ShapeRoot.Perform ( Point  origin,
GenAction  action 
)
virtual