|
Aerodynamic Objects Core 2.0.0
|
Provides flow velocity from either a circular or rectangular area. More...
Public Types | |
| enum | AreaShape |
Public Member Functions | |
| override Vector3 | VelocityFunction (Vector3 position) |
| Override this function to change the way the velocity of the fluid is calculated. More... | |
Public Member Functions inherited from AerodynamicObjects.FlowPrimitive | |
| void | GetInteractionID () |
| Obtains a unique interaction ID for the object. More... | |
| virtual void | Awake () |
| virtual void | OnEnable () |
| virtual void | OnDestroy () |
| virtual void | OnDisable () |
| void | AddSelfToScene () |
| void | AcquireFluidVolume (FluidVolume fluidVolume) |
| void | RemoveFromScene () |
| Vector3 | VelocityFunction (Vector3 position, int flowAffectedID) |
| Wrapper function which first checks if the interaction should happen. More... | |
| virtual Vector3 | VelocityFunction (Vector3 position) |
| Override this function to change the way the velocity of the fluid is calculated. More... | |
| bool | IsInteractionIgnored (int flowAffectedID) |
| void | IgnoreInteraction (int flowAffectedID) |
| void | IgnoreInteraction (FlowAffected flowAffected) |
| void | AddSelfToGlobalFluid () |
| void | RemoveSelfFromGlobalFluid () |
Public Attributes | |
| float | speed = 1 |
| The flow speed at the source plane More... | |
| AreaShape | shape = AreaShape.Circle |
| float | radius = 0.5f |
| Used for circle only More... | |
| float | width = 0.5f |
| Used for rectangle only More... | |
| float | height = 0.5f |
| Used for rectangle only More... | |
| Fade | fade = Fade.DistanceLinear |
Public Attributes inherited from AerodynamicObjects.FlowPrimitive | |
| float | strengthScale = 1f |
| This value is used to scale the flow primitive behaviour. More... | |
| int | interactionID = 0 |
| The unique ID number for this flow primitive, used for identifying pairs of ignored interactions by the FlowInteractionManager. More... | |
Provides flow velocity from either a circular or rectangular area.
Override this function to change the way the velocity of the fluid is calculated.
| position | Position of the object in the global (earth) frame of reference. |
Reimplemented from AerodynamicObjects.FlowPrimitive.
| Fade AerodynamicObjects.Flow.AreaSource.fade = Fade.DistanceLinear |
| float AerodynamicObjects.Flow.AreaSource.height = 0.5f |
Used for rectangle only
| float AerodynamicObjects.Flow.AreaSource.radius = 0.5f |
Used for circle only
| AreaShape AerodynamicObjects.Flow.AreaSource.shape = AreaShape.Circle |
| float AerodynamicObjects.Flow.AreaSource.speed = 1 |
The flow speed at the source plane
| float AerodynamicObjects.Flow.AreaSource.width = 0.5f |
Used for rectangle only