The IAnchor graph node interface. More...
#include "murl_graph_i_anchor.h"
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual const Matrix & | GetWorldTransform () const =0 |
Get the world transform stored during logic traversal. More... | |
virtual const Vector & | GetWorldPosition () const =0 |
Get the world position stored during logic traversal. More... | |
virtual SInt32 | GetWorldDepthOrder () const =0 |
Get the world depth order stored during logic traversal. More... | |
virtual const Vector & | GetWorldScaleFactor () const =0 |
Get the world scale factor stored during logic traversal. More... | |
Detailed Description
The IAnchor graph node interface.
Anchor nodes may be used to temporarily "store" the current world transform and depth order during logic traversal, to be later retrieved by e.g. a node that implements the Graph::ICloneTransform interface.
See Graph::ICloneTransform for accessing the anchor's transform.
Member Function Documentation
◆ GetNodeInterface() [1/2]
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
- Returns
- The mutable Graph::INode interface, or null if not available
◆ GetNodeInterface() [2/2]
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
- Returns
- The constant Graph::INode interface, or null if not available
◆ GetWorldTransform()
|
pure virtual |
Get the world transform stored during logic traversal.
This returns a constant reference to the world transform calculated and stored during the most recent logic traversal. The returned transform is only valid until the next logic tick.
- Returns
- The most recent world transform.
◆ GetWorldPosition()
|
pure virtual |
Get the world position stored during logic traversal.
This returns a constant reference to the world positon calculated and stored during the most recent logic traversal. The returned position is only valid until the next logic tick.
- Returns
- The most recent world position.
◆ GetWorldDepthOrder()
|
pure virtual |
Get the world depth order stored during logic traversal.
This returns the absolute depth order calculated and stored during the most recent logic traversal. The returned value is only valid until the next logic tick.
- Returns
- The most recent absolute depth order.
◆ GetWorldScaleFactor()
|
pure virtual |
Get the world scale factor stored during logic traversal.
This returns a constant reference to the world scale factor calculated and stored during the most recent logic traversal. The returned scale factor is only valid until the next logic tick.
- Returns
- The most recent world position.
The documentation for this interface was generated from the following file:
- murl_graph_i_anchor.h