|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinestatic |
Attempts to spawn a single Dust into the game world. Position indicates the spawn position and Velocity indicates the initial velocity. Unlike M:Terraria.Dust.NewDust(Microsoft.Xna.Framework.Vector2,System.Int32,System.Int32,System.Int32,System.Single,System.Single,System.Int32,Microsoft.Xna.Framework.Color,System.Single), position and velocity will not be slightly randomized, making this method suitable for visual effects that need exact positioning.
| Position | |
| Type | |
| Velocity | |
| Alpha | |
| newColor | |
| Scale |
Definition at line 114 of file Dust.cs.
References Terraria.Main.dust, and Terraria.Dust.NewDust().
Referenced by Terraria.Projectile.AI_001(), Terraria.NPC.AI_001_Slimes(), Terraria.NPC.AI_007_TownEntities(), Terraria.Projectile.AI_016(), Terraria.NPC.AI_026_Unicorns(), Terraria.NPC.AI_047_GolemFist(), Terraria.Projectile.AI_075(), Terraria.NPC.AI_107_ImprovedWalkers(), Terraria.NPC.AI_111_DD2LightningBug(), Terraria.NPC.AI_120_HallowBoss_DoMagicEffect(), Terraria.Projectile.AI_147_Explosion(), Terraria.Projectile.AI_150_GolfClubHelper(), Terraria.Projectile.AI_157_SharpTears(), Terraria.Projectile.AI_162_TigerPounce(), Terraria.Projectile.AI_168_FirstFractal(), Terraria.Projectile.AI_171_HallowBossRainbowStreak(), Terraria.Projectile.AI_179_FairyQueenLance(), Terraria.Projectile.AI_181_FairyQueenRangedItemShot(), Terraria.Projectile.AI_188_LightsBane(), Terraria.Projectile.AI_189_Volcano(), Terraria.Projectile.AI_190_NightsEdge(), Terraria.Projectile.AI_191_TrueNightsEdge(), Terraria.Projectile.AI_192_JuminoAnimation(), Terraria.Projectile.AI_195_JimsDrone(), Terraria.GameContent.Drawing.ParticleOrchestrator.CopperSlimeEffect(), Terraria.Mount.DoConfettiMinecartEffect(), Terraria.Mount.DoExhaustMinecartEffect(), Terraria.Mount.DoGemMinecartEffect(), Terraria.Mount.DoSteamMinecartEffect(), Terraria.GameContent.Drawing.ParticleOrchestrator.ElderSlimeEffect(), Terraria.GameContent.Golf.GolfHelper.ContactListener.EmitGolfballExplosion(), Terraria.GameContent.Golf.GolfHelper.ContactListener.EmitGolfballExplosion_v1(), Terraria.DelegateMethods.EmitGolfCartDust_StopForSolids(), Terraria.Player.ItemCheck_ApplyHoldStyle_Inner(), Terraria.Player.ItemCheck_ApplyUseStyle_Inner(), Terraria.Player.ItemCheck_EmitDrinkParticles(), Terraria.Player.ItemCheck_EmitFoodParticles(), Terraria.Player.ItemCheck_EmitHeldItemLight(), Terraria.Player.ItemCheck_EmitUseVisuals(), Terraria.Player.ItemCheck_Inner(), Terraria.Projectile.Kill(), Terraria.Projectile.LightDisc_Bounce(), Terraria.Projectile.MakeBoulderOfEarthExplosion(), Terraria.GameContent.Drawing.ParticleOrchestrator.NerdySlimeEffect(), Terraria.GameContent.Golf.GolfHelper.ContactListener.OnCollision(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_AshTreeShake(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_Excalibur(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_LoadOutChange(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_ShimmerArrow(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_TerraBlade(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_TrueExcalibur(), Terraria.GameContent.Drawing.ParticleOrchestrator.Spawn_TrueNightsEdge(), Terraria.DelegateMethods.Minecart.SpawnFartCloud(), Terraria.Graphics.FinalFractalHelper.FinalFractalProfile.StripDust(), Terraria.Main.TeleportEffect(), Terraria.Mount.UpdateEffects(), Terraria.Item.UpdateItem_VisualEffects(), Terraria.NPC.VanillaAI_Inner(), and Terraria.Player.WingFrame().
Here is the call graph for this function: