63 auto comp = _ecm.
Component<ComponentType>(this->inspector->GetEntity());
67 auto pose = comp->Data();
69 _item->setData(QString(
"Pose3d"),
70 ComponentsModel::RoleNames().key(
"dataType"));
71 _item->setData(QList({
72 QVariant(pose.Pos().X()),
73 QVariant(pose.Pos().Y()),
74 QVariant(pose.Pos().Z()),
75 QVariant(pose.Rot().Roll()),
76 QVariant(pose.Rot().Pitch()),
77 QVariant(pose.Rot().Yaw())
78 }), ComponentsModel::RoleNames().key(
"data"));