Candide.Graphics.ParticleHelper
Type JSONpublic class in Candide.Graphics
Type metadata
- Assembly
Romestead - Namespace
Candide.Graphics - Base type
System.Object - Hash
636FAD2911FAF82EF7C8422760391905510685D253C7CF881E19AE58FD62EE92
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
DefaultBloodSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet DefaultBloodSheet |
DustPoof32Emitter# | public | public Candide.Particles.ParticleEmitter DustPoof32Emitter |
Methods
EmittersLoaded
#
public System.Void EmittersLoaded()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
A30C9B3D441E438982DE9299DCB11FD64782C4B87A9CD6B1EA348F63A55A84F4 - Body hash
3E8F6914E26A0F383445997197D6011D9543F8D77CE5D367C5772AC8770635F3 - IL size16
String literals
dust_poof_32
GetRandomDirectionVelocity
#
public Microsoft.Xna.Framework.Vector3 GetRandomDirectionVelocity(System.Single velocityLength, System.Single zMin, System.Single zMax)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector3 - StaticTrue
- VirtualFalse
- Hash
349A4EC607D35B66F54F0F9D8DE4B290052799786D0B090897C7748B1D517615 - Body hash
7CE7046D0EB9AAA37F3DD467ED0E9803ED6068F331FACCBDDD880EA18818D5DB - IL size53
Referenced calls
CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)System.MathF::Cos(System.Single)System.MathF::Sin(System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)
Called by
Candide.Database.DebrisParticleDataBase::SpawnDebrisCandide.Entities.Controllers.CrabController.CrabController::SpawnDeathParticlesCandide.Entities.Controllers.CrabController.CrabController::SpawnSneakAttackParticlesCandide.Entities.Controllers.CrabController.CrabController::UpdateCandide.Entities.Controllers.Creatures.AshManController::OnProjectileHitCandide.Entities.Controllers.Legacy.BreakableController::DieCandide.Entities.Controllers.Legacy.SlidingController::OnKilledCandide.Entities.Controllers.MinervasOwlBossController.OwlBossEggController::OnDamagedCandide.Entities.Controllers.Other.BarricadeController::OnKilledCandide.Entities.Controllers.Other.BehaviorMachine.PotManController::OnProjectileHitCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnFloorParticlesCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnFloorParticles2Candide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnParticlesCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnParticlesHorizontallyDownwardsCandide.Entities.Controllers.Other.FallenTreeController::OnDamagedCandide.Entities.Controllers.Other.RegularResourceController::OnRemoveCandide.Entities.Controllers.Other.WallController::OnOutOfHealthCandide.Entities.Controllers.Other.WildPlayerDecorationController::DoParticlesCandide.Entities.Controllers.PhoenixBossController.PhoenixBossEggController::OnDamagedCandide.Entities.Controllers.PhoenixEggController.PhoenixEggController::OnRemoveCandide.Entities.Controllers.PhoenixEggController.PhoenixEggController::UpdateCandide.Entities.Controllers.SatyrControllers.SatyrWatchtowerController::SpawnParticles
New_SpawnGroundBloodSplatter
#
public System.Void New_SpawnGroundBloodSplatter(Microsoft.Xna.Framework.Vector3 position, ParticleHelper.GroundBloodParticle particle, ParticleHelper.BloodVfx vfx, Microsoft.Xna.Framework.Vector3 normalizedHitVector)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
CA0C903CC8CAC41031AB276C02D7047939A4AA72A4E1F68EC12A7FE035961C4F - Body hash
78A8BCC62B9224EB3C7B54F5BDA5DAF56E5B9C0C6A8D86D88EBD463021C28372 - IL size981
Referenced calls
CandideCreator.Shared.Helpers.VectorExtension::ToAngle(Microsoft.Xna.Framework.Vector3)Candide.Database.ParticleDataBase::GetParticleData(System.String)System.ArgumentOutOfRangeException::.ctor(System.String, System.Object, System.String)Candide.Graphics.ParticleSystem::NewParticleFromData(Candide.Particles.ParticleData)CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)System.Random::NextSingle()Candide.Database.VfxSpritesAnimationDataBase::GetVfxSpritesAnimation(System.String)Candide.Graphics.VFX.VfxPlayer::PlayAnimation(CandideCreator.Shared.Models.VFX.VfxSpritesAnimationModel, Microsoft.Xna.Framework.Vector3, System.Single, System.Single, Microsoft.Xna.Framework.Graphics.SpriteEffects)
Called by
Candide.Entities.Controllers.FrogController.FrogController::OnHitTheGroundCandide.Entities.Controllers.MouseController.MouseController::OnHitTheGroundCandide.Entities.Controllers.Other.Cyclops.CyclopsPopOutEyeController::UpdateCandide.Entities.Controllers.Other.YarnNeutralNpcController::OnRemoveCandide.Entities.Controllers.RabbitController.LizardController::OnHitTheGroundCandide.Entities.Controllers.RabbitController.RabbitController::OnHitTheGroundCandide.Entities.Controllers.SquirrelController.SquirrelController::OnHitTheGroundCandide.Graphics.CombatVfxHelper::HandleFleshHitBlood
String literals
blood_explosion:groundblood_slash:groundblood_splatter:groundblood_spray:groundblood_spurt:groundblood_pool:groundparticleblood_explosionblood_slashblood_splatterblood_sprayblood_spurtvfx
SpawnBloodSplatter
#
public System.Int32 SpawnBloodSplatter(Microsoft.Xna.Framework.Vector3 position, CandideCreator.Shared.Graphics.SpriteSheet bloodSheet)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
B909D2482CA6697501240EDDAF9A5D2549183778E61DE1D9C32E9FC0D243F833 - Body hash
8D8E1CD81490C88FAC09DCF84EF9267C5826736A96027C36A16C5BE65095C8A2 - IL size256
Referenced calls
Candide.Graphics.ParticleSystem::NewParticle()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector4::get_One()System.Random::Next(System.Int32, System.Int32)
SpawnBouncyPushableParticle
#
public System.Int32 SpawnBouncyPushableParticle(Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, Candide.Graphics.Drawable& drawable, System.Single gravityScale, System.Single groundFriction, System.Single bounciness, System.Single lifelength)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
A2A4B59703067F038194E7E50C339279E55BACFB8A979779E3293D8F670CCA07 - Body hash
8247C108C623AC06D32ABEC0CAED4BB3CA8481DE8FFC41C4D796708D7EF92FF9 - IL size335
Referenced calls
Called by
Candide.Combat.DeathHelper::SpawnDeathPartsCandide.Combat.DeathHelper::SyncExplodeAsPartsCandide.Combat.VisualExplosionHelper::ExplodeDirtCandide.Combat.VisualExplosionHelper::ExplodeDirtDirectionalCandide.Database.DebrisParticleDataBase::SpawnDebrisCandide.Entities.Controllers.CrabController.CrabController::OnDamagedCandide.Entities.Controllers.CrabController.CrabController::SpawnDeathParticlesCandide.Entities.Controllers.CrabController.CrabController::SpawnSneakAttackParticlesCandide.Entities.Controllers.CrabController.CrabController::UpdateCandide.Entities.Controllers.Creatures.AshManController::OnProjectileHitCandide.Entities.Controllers.Legacy.BreakableController::DieCandide.Entities.Controllers.Legacy.SlidingController::OnKilledCandide.Entities.Controllers.MinervasOwlBossController.OwlBossEggController::OnDamagedCandide.Entities.Controllers.Other.BarricadeController::OnKilledCandide.Entities.Controllers.Other.BehaviorMachine.PotManController::OnProjectileHitCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnFloorParticlesCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnFloorParticles2Candide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnParticlesCandide.Entities.Controllers.Other.Cyclops.FallingRockProjectileController::SpawnParticlesHorizontallyDownwardsCandide.Entities.Controllers.Other.FallenTreeController::OnDamagedCandide.Entities.Controllers.Other.RegularResourceController::OnRemoveCandide.Entities.Controllers.Other.WallController::OnOutOfHealthCandide.Entities.Controllers.Other.WildPlayerDecorationController::DoParticlesCandide.Entities.Controllers.PhoenixBossController.PhoenixBossEggController::OnDamagedCandide.Entities.Controllers.PhoenixEggController.PhoenixEggController::OnRemoveCandide.Entities.Controllers.PhoenixEggController.PhoenixEggController::UpdateCandide.Entities.Controllers.SatyrControllers.SatyrWatchtowerController::SpawnParticles
SpawnBreakableParticles
#
public System.Void SpawnBreakableParticles(Shared.Entity.EntityWrapper entity, CandideCreator.Shared.Graphics.SpriteSheet sheet, System.Int32 inclusiveMinFrame, System.Int32 exclusiveMaxFrame, Microsoft.Xna.Framework.Vector3 particleDrawOffset, System.Boolean verticalFrame, System.Int32 particleAmount)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
F8BB074ED951F6D30650668F1DA1469CD2CAA2B47AEBEF7DF0FCC455322ECB38 - Body hash
8D9D7F82C75AECCAABC559B8B5A017C021D6A332BF1C45CC85895B5CE151545D - IL size444
Referenced calls
Shared.Entity.EntityWrapper::get_Position()Shared.Entity.EntityWrapper::get_Velocity()Shared.Entity.EntityWrapper::get_Fdt()Microsoft.Xna.Framework.Vector3::op_Multiply(Microsoft.Xna.Framework.Vector3, System.Single)Microsoft.Xna.Framework.Vector3::op_Addition(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Vector3)Candide.Graphics.ParticleSystem::NewParticle()System.Random::Next(System.Int32, System.Int32)Microsoft.Xna.Framework.Vector4::get_One()CandideCreator.Shared.Helpers.RandomHelper::NextFloat(System.Random, System.Single, System.Single)CandideCreator.Shared.Helpers.RandomHelper::NextDouble(System.Random, System.Double, System.Double)System.Math::Cos(System.Double)System.Math::Sin(System.Double)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector3::op_Multiply(System.Single, Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::get_UnitZ()Microsoft.Xna.Framework.Vector3::op_Division(Microsoft.Xna.Framework.Vector3, System.Single)
SpawnDustPoof
#
public System.Void SpawnDustPoof(Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
5C17EE72B0889C2C5B608883D45F08CB28728DA7634794940A5766CBA9298E2B - Body hash
0E9600881A4039DBEF27DBF1DECAB47230C50B20FB47A4ABA5400BD6C5D3B139 - IL size106
Referenced calls
Candide.Particles.ParticleEmitter::SpawnParticle()Candide.Particles.ParticleEmitter::SetParticleProperties(System.Int32)Microsoft.Xna.Framework.Vector3::get_Zero()
SpawnUnpushableParticle
#
public System.Int32 SpawnUnpushableParticle(Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 velocity, Candide.Graphics.Drawable& drawable, System.Single gravityScale, System.Single bounciness)
Method metadata
- Visibilitypublic
- Return type
System.Int32 - StaticTrue
- VirtualFalse
- Hash
58EFAA4B270C8E5957813D8BA32594FBE6619F6A1A6D9A0A8FCA304FADC04FFF - Body hash
220928A20B54E93DEDB715E3510755AC3D13FEA2F90452ED14CD92DB73090C71 - IL size256