VJ Master 1.0
Real-time audio analysis and visualisation.
Loading...
Searching...
No Matches
FST_VJ_BoidDynamicParameters Struct Reference

Struct to hold dynamic parameters for VJ boids, such as simulation speed, max speed, and various factors. More...

#include <ST_AudioReactiveBoidsLib.h>

Public Member Functions

float minDistanceSq () const
float turnSpeed () const
float minSpeed () const

Public Attributes

float simulationSpeed = 1.0f
float maxSpeed = 2.0f
float minDistance = 0.15f
FVector2f cohesionFactor = FVector2f::One()
FVector2f separationFactor = FVector2f::One()
FVector2f alignmentFactor = FVector2f::One()
FVector2f perlinNoiseForce = FVector2f::One()
float meshScale = 0.02f

Detailed Description

Struct to hold dynamic parameters for VJ boids, such as simulation speed, max speed, and various factors.

Member Function Documentation

◆ minDistanceSq()

float FST_VJ_BoidDynamicParameters::minDistanceSq ( ) const
inline

Returns the squared minimum distance between boids.

◆ minSpeed()

float FST_VJ_BoidDynamicParameters::minSpeed ( ) const
inline

Returns the minimum speed based on max speed.

◆ turnSpeed()

float FST_VJ_BoidDynamicParameters::turnSpeed ( ) const
inline

Returns the turn speed based on max speed.

Member Data Documentation

◆ alignmentFactor

FVector2f FST_VJ_BoidDynamicParameters::alignmentFactor = FVector2f::One()

Alignment factor for boid behavior.

◆ cohesionFactor

FVector2f FST_VJ_BoidDynamicParameters::cohesionFactor = FVector2f::One()

Cohesion factor for boid behavior.

◆ maxSpeed

float FST_VJ_BoidDynamicParameters::maxSpeed = 2.0f

Maximum speed of the boid.

◆ meshScale

float FST_VJ_BoidDynamicParameters::meshScale = 0.02f

Scale of the boid mesh.

◆ minDistance

float FST_VJ_BoidDynamicParameters::minDistance = 0.15f

Minimum distance between boids.

◆ perlinNoiseForce

FVector2f FST_VJ_BoidDynamicParameters::perlinNoiseForce = FVector2f::One()

Perlin noise force factor for boid behavior.

◆ separationFactor

FVector2f FST_VJ_BoidDynamicParameters::separationFactor = FVector2f::One()

Separation factor for boid behavior.

◆ simulationSpeed

float FST_VJ_BoidDynamicParameters::simulationSpeed = 1.0f

Speed of the simulation.


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