Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
SB::Engine::FloatParameter Class Reference
Inheritance diagram for SB::Engine::FloatParameter:
Collaboration diagram for SB::Engine::FloatParameter:

Additional Inherited Members

- Public Types inherited from SB::Engine::Parameter< float >
using ParameterProperty = SB::Core::Property< float >
 Defines the underlying property type used to store and broadcast values.
 
using LocalParameter = std::pair< SB_ID, ParameterProperty >
 Defines the type used for passing local versions/variations of this parameter.
 
using LocalParameterValuePair = std::pair< SB_ID, float >
 Defines an ID to a parameter and a value for that parameter.
 
- Public Member Functions inherited from SB::Engine::Parameter< float >
 Parameter (float min, float max)
 Creates a Parameter with min and max values set.
 
float get () const
 Get the current value of the parameter.
 
float getDefault () const
 
void set (float value)
 Set the value of the parameter.
 
void setDefault (float value)
 
ParameterProperty::PropertyChangedDelegategetDelegate ()
 Get the parameter delegate that fires when changing the value.
 
LocalParameter createLocalParameterFromThis () const
 Copies this Parameter to a runtime version, suitable for handling unique variations per game object etc.
 
- Public Member Functions inherited from SB::Core::DatabaseObject
SB_ID getDatabaseID () const
 
void setDatabaseID (SB_ID id)
 
std::string_view getDatabaseName () const
 
void setDatabaseName (std::string_view name)
 
bool getEditorHidden () const
 
void setEditorHidden (bool hidden)
 
 operator SB_ID () const
 
- Public Member Functions inherited from SB::Core::Object
template<typename T >
TtryConvertObject () noexcept
 Gets the most derived type of this object and upcasts it to T.
 
template<typename T >
const TtryConvertObject () const noexcept
 
rttr::type getType () const
 
- Public Member Functions inherited from SB::Core::ObjectUtilities
SB::Engine::SystemgetSystem () const
 
sc_systemgetChef () const
 
ma_enginegetMini () const
 
- Public Member Functions inherited from SB::Core::DatabaseObjectUtilities
virtual void onLoaded ()
 
virtual void onProjectLoaded ()
 
virtual void onDestroy ()
 
- Public Attributes inherited from SB::Core::ObjectUtilities
std::string m_debugName
 
- Protected Attributes inherited from SB::Engine::Parameter< float >
float m_defaultValue
 
SB::Core::Property< float > m_property
 

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