![]() |
Murl Engine API
Version 2018.3
|
The IAnchor graph node interface. More...
#include <murl_graph_i_anchor.h>
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.
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... | |
|
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.
|
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.
|
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.
|
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.
|
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.