Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::RangedValueParameter< ValueType, Derived > Class Template Reference

Inherits EMotionFX::DefaultValueParameter< ValueType, RangedValueParameter< ValueType, Derived > >.

Public Member Functions

 RangedValueParameter (const ValueType &defaultValue, const ValueType &minValue, const ValueType &maxValue, bool hasMinValue=true, bool hasMaxValue=true, AZStd::string name={}, AZStd::string description={})
 
ValueType GetMinValue () const
 
void SetMinValue (const ValueType &newValue)
 
ValueType GetMaxValue () const
 
void SetMaxValue (const ValueType &newValue)
 
bool GetHasMinValue () const
 
void SetHasMinValue (const bool newValue)
 
bool GetHasMaxValue () const
 
void SetHasMaxValue (const bool newValue)
 
- Public Member Functions inherited from EMotionFX::DefaultValueParameter< ValueType, RangedValueParameter< ValueType, Derived > >
 AZ_RTTI ((DefaultValueParameter, "{AE70C43D-6BAE-4EDF-A1CF-FC18B9F92ABB}", ValueType, RangedValueParameter< ValueType, Derived >), ValueParameter)
 
 DefaultValueParameter (const ValueType &defaultValue, AZStd::string name={}, AZStd::string description={})
 
ValueType GetDefaultValue () const
 
void SetDefaultValue (const ValueType &newValue)
 
- Public Member Functions inherited from EMotionFX::ValueParameter
 ValueParameter (AZStd::string name, AZStd::string description={})
 
virtual MCore::AttributeConstructDefaultValueAsAttribute () const =0
 
virtual uint32 GetType () const =0
 
virtual bool AssignDefaultValueToAttribute (MCore::Attribute *attribute) const =0
 
virtual bool SetDefaultValueFromAttribute (MCore::Attribute *attribute)=0
 
virtual bool SetMinValueFromAttribute (MCore::Attribute *attribute)
 
virtual bool SetMaxValueFromAttribute (MCore::Attribute *attribute)
 
- Public Member Functions inherited from EMotionFX::Parameter
 Parameter (AZStd::string name, AZStd::string description={})
 
virtual const char * GetTypeDisplayName () const =0
 
const AZStd::string & GetName () const
 
void SetName (const AZStd::string &name)
 
const AZStd::string & GetDescription () const
 
void SetDescription (const AZStd::string &description)
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from EMotionFX::DefaultValueParameter< ValueType, RangedValueParameter< ValueType, Derived > >
static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from EMotionFX::ValueParameter
static void Reflect (AZ::ReflectContext *context)
 
- Static Public Member Functions inherited from EMotionFX::Parameter
static void Reflect (AZ::ReflectContext *context)
 
static bool IsNameValid (const AZStd::string &name, AZStd::string *outInvalidCharacters)
 

Protected Member Functions

AZ::Crc32 GetMinValueVisibility () const
 
AZ::Crc32 GetMaxValueVisibility () const
 

Protected Attributes

ValueType m_minValue
 
ValueType m_maxValue
 
bool m_hasMinValue = true
 
bool m_hasMaxValue = true
 
- Protected Attributes inherited from EMotionFX::DefaultValueParameter< ValueType, RangedValueParameter< ValueType, Derived > >
ValueType m_defaultValue
 
- Protected Attributes inherited from EMotionFX::Parameter
AZStd::string m_name
 
AZStd::string m_description
 

Additional Inherited Members

- Static Protected Attributes inherited from EMotionFX::Parameter
static const char s_invalidCharacters []
 

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