|
| AZTF_API PivotOrientationResult | CalculatePivotOrientation (AZ::EntityId entityId, ReferenceFrame referenceFrame) |
| |
|
template<typename EntityIdMap > |
| AZTF_API PivotOrientationResult | CalculatePivotOrientationForEntityIds (const EntityIdMap &entityIdMap, const ReferenceFrame referenceFrame) |
| | Calculate the orientation for a group of entities based on the incoming reference frame.
|
| |
| template<typename EntityIdMap > |
| AZTF_API PivotOrientationResult | CalculateSelectionPivotOrientation (const EntityIdMap &entityIdMap, const OptionalFrame &pivotOverrideFrame, const ReferenceFrame referenceFrame) |
| |
|
AZTF_API void | SetEntityWorldTranslation (AZ::EntityId entityId, const AZ::Vector3 &worldTranslation, bool &internal) |
| |
|
AZTF_API void | SetEntityLocalTranslation (AZ::EntityId entityId, const AZ::Vector3 &localTranslation, bool &internal) |
| |
|
AZTF_API void | SetEntityWorldTransform (AZ::EntityId entityId, const AZ::Transform &worldTransform, bool &internal) |
| |
|
AZTF_API void | SetEntityLocalScale (AZ::EntityId entityId, float localScale, bool &internal) |
| |
|
AZTF_API void | SetEntityLocalRotation (AZ::EntityId entityId, const AZ::Vector3 &localRotation, bool &internal) |
| |
|
AZTF_API void | SetEntityLocalRotation (AZ::EntityId entityId, const AZ::Quaternion &localRotation, bool &internal) |
| |
The Etcs (EntityTransformComponentSelection) namespace contains functions and data used exclusively by the EditorTransformComponentSelection type. Functions in this namespace are exposed to facilitate testing and should not be used outside of EditorTransformComponentSelection or EditorTransformComponentSelectionTests.
◆ CalculatePivotOrientation()
| AZTF_API PivotOrientationResult AzToolsFramework::Etcs::CalculatePivotOrientation |
( |
AZ::EntityId |
entityId, |
|
|
ReferenceFrame |
referenceFrame |
|
) |
| |
Calculate the orientation for an individual entity based on the incoming reference frame. Note: If the entity is in a hierarchy the Parent reference frame will return the orientation of the parent.
◆ CalculateSelectionPivotOrientation()
template<typename EntityIdMap >
| AZTF_API PivotOrientationResult AzToolsFramework::Etcs::CalculateSelectionPivotOrientation |
( |
const EntityIdMap & |
entityIdMap, |
|
|
const OptionalFrame & |
pivotOverrideFrame, |
|
|
const ReferenceFrame |
referenceFrame |
|
) |
| |
Calculate the orientation for a group of entities based on the incoming reference frame with possible pivot override.