Mountain  1.0.0
Simple C++ 2D Game Framework
Mountain::ParticleSystemModules::Shape Class Reference
+ Inheritance diagram for Mountain::ParticleSystemModules::Shape:
+ Collaboration diagram for Mountain::ParticleSystemModules::Shape:

Public Member Functions

MOUNTAIN_API void SetComputeShaderUniforms (const ComputeShader &computeShader, Types enabledModules) const override
 
MOUNTAIN_API void RenderImGui (uint32_t *enabledModulesInt) override
 
MOUNTAIN_API void RenderDebug (const ParticleSystem &system, Vector2 renderTargetSizeDiff) const override
 

Public Attributes

ShapeType type = ShapeType::Circle
 
ShapeCircle circle
 
ShapeLine line
 
ShapeRectangle rectangle
 
Vector2 offset
 
float_t rotation
 
Vector2 scale = Vector2::One()
 
float_t randomizeDirection = 0.f
 
float_t randomizeRotation = 0.f
 
float_t randomizePosition = 0.f
 
bool_t showSpawnArea = false
 

Additional Inherited Members

- Protected Member Functions inherited from Mountain::ParticleSystemModules::Base
bool_t BeginImGui (uint32_t *enabledModulesInt, Types type) const
 
void EndImGui () const
 

Detailed Description

Definition at line 92 of file particle_system_modules.hpp.


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