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

Inherits QAbstractItemModel.

Public Types

enum  ColumnIndex { COLUMN_NAME }
 
enum  Role {
  ROLE_OBJECT_PTR = Qt::UserRole , ROLE_OBJECT_INDEX , ROLE_OBJECT_NAME , ROLE_JOINT_PTR ,
  ROLE_JOINT_BOOL , ROLE_ACTOR_PTR
}
 

Public Member Functions

QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
 
QModelIndex parent (const QModelIndex &child) const override
 
int rowCount (const QModelIndex &parent=QModelIndex()) const override
 
int columnCount (const QModelIndex &parent=QModelIndex()) const override
 
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
 
Qt::ItemFlags flags (const QModelIndex &index) const override
 
const QItemSelectionModel * GetSelectionModel () const
 
QItemSelectionModel * GetSelectionModel ()
 
const ActorGetActor () const
 
void SetActor (Actor *actor)
 
void SetActorInstance (ActorInstance *actorInstance)
 
QModelIndex GetModelIndexByObjectIndex (size_t objectIndex)
 
QModelIndex FindModelIndex (SimulatedObject *object)
 
void AddJointsToSelection (QItemSelection &selection, size_t objectIndex, const AZStd::vector< size_t > &jointIndices)
 

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