Open 3D Engine EMotionFX Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::Constraint Class Referenceabstract

#include <Constraint.h>

Inherited by EMotionFX::ConstraintTransform.

Public Member Functions

virtual uint32 GetType () const =0
 
virtual const char * GetTypeString () const =0
 
virtual void Execute ()=0
 

Detailed Description

The constraint base class. This applies a given constraint to a given input transform which is then modified.

Member Function Documentation

◆ Execute()

virtual void EMotionFX::Constraint::Execute ( )
pure virtual

The main execution function, which performs the actual constraint operation.

Implemented in EMotionFX::ConstraintTransformRotationAngles.

◆ GetType()

virtual uint32 EMotionFX::Constraint::GetType ( ) const
pure virtual

Get the type ID of the constraint, which identifies the type of constraint.

Returns
The type ID.

Implemented in EMotionFX::ConstraintTransformRotationAngles.

◆ GetTypeString()

virtual const char* EMotionFX::Constraint::GetTypeString ( ) const
pure virtual

Get the type string of the constraint, which identifies the type of constraint, using its class name.

Returns
The type string.

Implemented in EMotionFX::ConstraintTransformRotationAngles.


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