Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Demos.RingVortexSpawner Class Reference

Used to spawn a ring vortex periodically. More...

Inheritance diagram for AerodynamicObjects.Demos.RingVortexSpawner:
AerodynamicObjects.Utility.ObjectSpawner

Public Member Functions

override void Spawn ()
 Define the logic for creating/spawning the object. More...
 
- Public Member Functions inherited from AerodynamicObjects.Utility.ObjectSpawner
virtual void FixedUpdate ()
 When overriding this fixed update make sure to call base.FixedUpdate() so that the spawn timer still works. More...
 
abstract void Spawn ()
 Define the logic for creating/spawning the object. More...
 

Public Attributes

int nodeCount
 
bool isDynamic
 
bool isTemporal = true
 
float radius = 1f
 
float coreRadius = 0.01f
 
float initialStrength = 1f
 
float lifeSpanDuration = 10f
 
- Public Attributes inherited from AerodynamicObjects.Utility.ObjectSpawner
float spawnRate
 The frequency at which objects are spawned (number of objects per second). More...
 

Detailed Description

Used to spawn a ring vortex periodically.

Member Function Documentation

◆ Spawn()

override void AerodynamicObjects.Demos.RingVortexSpawner.Spawn ( )
virtual

Define the logic for creating/spawning the object.

Implements AerodynamicObjects.Utility.ObjectSpawner.

Member Data Documentation

◆ coreRadius

float AerodynamicObjects.Demos.RingVortexSpawner.coreRadius = 0.01f

◆ initialStrength

float AerodynamicObjects.Demos.RingVortexSpawner.initialStrength = 1f

◆ isDynamic

bool AerodynamicObjects.Demos.RingVortexSpawner.isDynamic

◆ isTemporal

bool AerodynamicObjects.Demos.RingVortexSpawner.isTemporal = true

◆ lifeSpanDuration

float AerodynamicObjects.Demos.RingVortexSpawner.lifeSpanDuration = 10f

◆ nodeCount

int AerodynamicObjects.Demos.RingVortexSpawner.nodeCount

◆ radius

float AerodynamicObjects.Demos.RingVortexSpawner.radius = 1f

The documentation for this class was generated from the following file: