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::BlendSpaceNode::BlendSpaceMotion Class Referencefinal

Public Types

enum class  TypeFlags : AZ::u8 {
  None = 0 , UserSetCoordinateX = 1 << 0 , BlendSpace1D = 1 << 1 , BlendSpace2D = 1 << 2 ,
  UserSetCoordinateY = 1 << 3 , InvalidMotion = 1 << 4
}
 

Public Member Functions

 BlendSpaceMotion (const AZStd::string &motionId)
 
 BlendSpaceMotion (const AZStd::string &motionId, const AZ::Vector2 &coordinates, TypeFlags typeFlags)
 
void Set (const AZStd::string &motionId, const AZ::Vector2 &coordinates, TypeFlags typeFlags=TypeFlags::None)
 
const AZStd::string & GetMotionId () const
 
const AZ::Vector2 & GetCoordinates () const
 
float GetXCoordinate () const
 
float GetYCoordinate () const
 
void SetXCoordinate (float x)
 
void SetYCoordinate (float y)
 
bool IsXCoordinateSetByUser () const
 
bool IsYCoordinateSetByUser () const
 
void MarkXCoordinateSetByUser (bool setByUser)
 
void MarkYCoordinateSetByUser (bool setByUser)
 
int GetDimension () const
 
void SetDimension (int dimension)
 
void SetFlag (TypeFlags flag)
 
void UnsetFlag (TypeFlags flag)
 
bool TestFlag (TypeFlags flag) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

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