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::BoolParameter Class Reference

Inherits EMotionFX::DefaultValueParameter< bool, BoolParameter >.

Inherited by EMotionFX::TagParameter.

Public Member Functions

 BoolParameter (const AZStd::string &name, const AZStd::string &description={})
 
 BoolParameter (bool defaultValue, const AZStd::string &name, const AZStd::string &description={})
 
const char * GetTypeDisplayName () const override
 
MCore::AttributeConstructDefaultValueAsAttribute () const override
 
uint32 GetType () const override
 
bool AssignDefaultValueToAttribute (MCore::Attribute *attribute) const override
 
bool SetDefaultValueFromAttribute (MCore::Attribute *attribute) override
 
- Public Member Functions inherited from EMotionFX::DefaultValueParameter< bool, BoolParameter >
 AZ_RTTI ((DefaultValueParameter, "{AE70C43D-6BAE-4EDF-A1CF-FC18B9F92ABB}", bool, BoolParameter), ValueParameter)
 
 DefaultValueParameter (const bool &defaultValue, AZStd::string name={}, AZStd::string description={})
 
bool GetDefaultValue () const
 
void SetDefaultValue (const bool &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< bool, BoolParameter >
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)
 

Additional Inherited Members

- Protected Attributes inherited from EMotionFX::DefaultValueParameter< bool, BoolParameter >
bool m_defaultValue
 
- Protected Attributes inherited from EMotionFX::Parameter
AZStd::string m_name
 
AZStd::string m_description
 
- Static Protected Attributes inherited from EMotionFX::Parameter
static const char s_invalidCharacters []
 

Member Function Documentation

◆ AssignDefaultValueToAttribute()

bool EMotionFX::BoolParameter::AssignDefaultValueToAttribute ( MCore::Attribute attribute) const
overridevirtual

◆ ConstructDefaultValueAsAttribute()

MCore::Attribute * EMotionFX::BoolParameter::ConstructDefaultValueAsAttribute ( ) const
overridevirtual

◆ GetType()

uint32 EMotionFX::BoolParameter::GetType ( ) const
overridevirtual

◆ GetTypeDisplayName()

const char * EMotionFX::BoolParameter::GetTypeDisplayName ( ) const
overridevirtual

Implements EMotionFX::Parameter.

◆ SetDefaultValueFromAttribute()

bool EMotionFX::BoolParameter::SetDefaultValueFromAttribute ( MCore::Attribute attribute)
overridevirtual

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