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

The container for all flow primitives that exist in a scene and are not contained in a Fluid Volume. More...

Static Public Member Functions

static List< FlowPrimitiveGetFlowPrimitiveList ()
 Used to check what flow primitives are in the global list. More...
 
static void AddFlowPrimitive (FlowPrimitive flowPrimitive)
 
static void RemoveFlowPrimitive (FlowPrimitive flowPrimitive)
 
static List< VelocityEventHandlerGetInteractingVelocityFunctions (int flowAffectedID)
 
static List< VelocityEventHandlerGetInteractingVelocityFunctions (int flowAffectedID, List< VelocityEventHandler > velocityFunctions)
 
static Vector3 GetVelocity (Vector3 position, int flowAffectedID)
 
static Vector3 GetVelocity (Vector3 position)
 

Properties

static FluidProperties FluidProperties [get, set]
 Properties of the global fluid. More...
 

Detailed Description

The container for all flow primitives that exist in a scene and are not contained in a Fluid Volume.

All Flow Affected objects will be affected by the Global Fluid unless they specifically opt to ignore the Global Fluid.

Member Function Documentation

◆ AddFlowPrimitive()

static void AerodynamicObjects.GlobalFluid.AddFlowPrimitive ( FlowPrimitive  flowPrimitive)
static

◆ GetFlowPrimitiveList()

static List< FlowPrimitive > AerodynamicObjects.GlobalFluid.GetFlowPrimitiveList ( )
static

Used to check what flow primitives are in the global list.

It is not recommended to try and change this list.

Returns
The list of globally acting flow primitives

◆ GetInteractingVelocityFunctions() [1/2]

static List< VelocityEventHandler > AerodynamicObjects.GlobalFluid.GetInteractingVelocityFunctions ( int  flowAffectedID)
static

◆ GetInteractingVelocityFunctions() [2/2]

static List< VelocityEventHandler > AerodynamicObjects.GlobalFluid.GetInteractingVelocityFunctions ( int  flowAffectedID,
List< VelocityEventHandler velocityFunctions 
)
static

◆ GetVelocity() [1/2]

static Vector3 AerodynamicObjects.GlobalFluid.GetVelocity ( Vector3  position)
static

◆ GetVelocity() [2/2]

static Vector3 AerodynamicObjects.GlobalFluid.GetVelocity ( Vector3  position,
int  flowAffectedID 
)
static

◆ RemoveFlowPrimitive()

static void AerodynamicObjects.GlobalFluid.RemoveFlowPrimitive ( FlowPrimitive  flowPrimitive)
static

Property Documentation

◆ FluidProperties

FluidProperties AerodynamicObjects.GlobalFluid.FluidProperties
staticgetset

Properties of the global fluid.


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