#include <GReparentInfluence.h>
Inheritance diagram for GBE::GReparentInfluence:


Public Member Functions | |
| GReparentInfluence (const GCS::GElementID &source, const GCS::GEnergy &energy, const GCS::GElementID &reparented_element, const GCS::GElementID &new_parent, const GCS::GVector3 &move_distance, const GCS::GVector3 &rotate) | |
| virtual | ~GReparentInfluence () |
| const GCS::GElementID & | getReparentedElement () |
| const GCS::GElementID & | getNewParent () |
| const GCS::GVector3 & | getMoveDistance () |
| const GCS::GVector3 & | getRotate () |
Protected Attributes | |
| const GCS::GElementID | ReparentedElement |
| const GCS::GElementID | NewParent |
| const GCS::GVector3 | MoveDistance |
| const GCS::GVector3 | Rotate |
|
||||||||||||||||||||||||||||
|
Constructor. |
|
|
Virtual destructor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Positions and rotations are relative to the current parent. The reparented element should stay at the same absolute position, thus it needs to modify its relative position because the parent changed. MoveDistance tells the reparented element how much the relative position changes. |
|
|
The ID of the new parent. |
|
|
The element that receives a new parent. |
|
|
Positions and rotations are relative to the current parent. The reparented element should stay at the same absolute position and keep it's rotation, thus it needs to modify its relative rotation because the parent changed. Rotate tells the reparented element how much the relative rotation changes.
|
1.3.6