struct SEnvironmentLayer { float minSpeed; float minSpeedSizeScale; float minSpeedCountScale; float minSpeedSpeedScale; float maxSpeed; float maxSpeedSizeScale; float maxSpeedCountScale; float maxSpeedSpeedScale; float minPowerSizeScale; float minPowerCountScale; float minPowerSpeedScale; float maxPowerSizeScale; float maxPowerCountScale; float maxPowerSpeedScale; float alignGroundHeight; float maxHeightSizeScale; float maxHeightCountScale; bool alignToWater; bool active; };
IVehicleSystem.h
SEnvironmentParticles Holds params for environment particles like dust, dirt.. A vehicle can use several layers to control different effects with distinct parameters.
bool active;
float alignGroundHeight;
bool alignToWater;
float maxHeightCountScale;
float maxHeightSizeScale;
float maxPowerCountScale;
float maxPowerSizeScale;
float maxPowerSpeedScale;
float maxSpeed;
float maxSpeedCountScale;
float maxSpeedSizeScale;
float maxSpeedSpeedScale;
float minPowerCountScale;
float minPowerSizeScale;
float minPowerSpeedScale;
float minSpeed;
float minSpeedCountScale;
float minSpeedSizeScale;
float minSpeedSpeedScale;
virtual ~SEnvironmentLayer();
virtual size_t GetGroupCount() const = 0;
virtual IVehicleHelper* GetHelper(int idx) const = 0;
virtual size_t GetHelperCount() const = 0;
virtual const char* GetName() const = 0;
virtual int GetWheelAt(int group, int wheel) const = 0;
virtual size_t GetWheelCount(int group) const = 0;
virtual bool IsGroupActive(int group) const = 0;
SEnvironmentLayer();
virtual void SetGroupActive(int group, bool active) = 0;