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

◆ Cull()

void Terraria.WorldGen.TileMergeCullCache.Cull ( ref int up,
ref int down,
ref int left,
ref int right,
ref int upLeft,
ref int upRight,
ref int downLeft,
ref int downRight )
inline

Definition at line 855 of file WorldGen.cs.

856 {
857 if (CullTop)
858 {
859 up = -1;
860 }
861 if (CullBottom)
862 {
863 down = -1;
864 }
865 if (CullLeft)
866 {
867 left = -1;
868 }
869 if (CullRight)
870 {
871 right = -1;
872 }
873 if (CullTopLeft)
874 {
875 upLeft = -1;
876 }
877 if (CullTopRight)
878 {
879 upRight = -1;
880 }
881 if (CullBottomLeft)
882 {
883 downLeft = -1;
884 }
885 if (CullBottomRight)
886 {
887 downRight = -1;
888 }
889 }

References Terraria.WorldGen.TileMergeCullCache.CullBottom, Terraria.WorldGen.TileMergeCullCache.CullBottomLeft, Terraria.WorldGen.TileMergeCullCache.CullBottomRight, Terraria.WorldGen.TileMergeCullCache.CullLeft, Terraria.WorldGen.TileMergeCullCache.CullRight, Terraria.WorldGen.TileMergeCullCache.CullTop, Terraria.WorldGen.TileMergeCullCache.CullTopLeft, and Terraria.WorldGen.TileMergeCullCache.CullTopRight.