The IResourceMeshCollider graph node interface. More...
#include "murl_graph_i_resource_mesh_collider.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 ITransform * | GetTransformInterface ()=0 |
Get the mutable Graph::ITransform interface. More... | |
virtual const ITransform * | GetTransformInterface () const =0 |
Get the constant Graph::ITransform interface. More... | |
virtual ICollider * | GetColliderInterface ()=0 |
Get the mutable Graph::ICollider interface. More... | |
virtual const ICollider * | GetColliderInterface () const =0 |
Get the constant Graph::ICollider interface. More... | |
virtual IMeshResourceTarget * | GetMeshResourceTarget ()=0 |
Get a mutable Graph::IMeshResourceTarget container. More... | |
virtual const IMeshResourceTarget * | GetMeshResourceTarget () const =0 |
Get a constant Graph::IMeshResourceTarget container. More... | |
Detailed Description
The IResourceMeshCollider graph node interface.
This interface represents a Graph::ICollider with an arbitrary collision shape, which is obtained from a given Resource::IMesh object.
Initialization will fail if the referenced Resource::IMesh object does not contain appropriate collision information; it is necessary to include such information already at the time of converting the mesh object. Similar to the Graph::IResourceMeshCuller interface, this interface does not explicitly require a specific type of structural information to be present in the mesh; a specialized Graph::ResourceMeshCollider on the other hand demands the presence of a bounding volume tree.
See also Graph::IResourceMeshCuller.
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
◆ GetTransformInterface() [1/2]
|
pure virtual |
Get the mutable Graph::ITransform interface.
This method returns a mutable pointer to the node's Graph::ITransform interface, to be able to query or modify the node's transformation matrix and depth order.
- Returns
- The mutable Graph::ITransform interface, or null if not available
◆ GetTransformInterface() [2/2]
|
pure virtual |
Get the constant Graph::ITransform interface.
This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
- Returns
- The constant Graph::ITransform interface, or null if not available
◆ GetColliderInterface() [1/2]
|
pure virtual |
Get the mutable Graph::ICollider interface.
This method returns a mutable pointer to the node's Graph::ICollider interface, to be able to query or modify common collider-related properties.
- Returns
- The mutable Graph::ICollider interface
◆ GetColliderInterface() [2/2]
|
pure virtual |
Get the constant Graph::ICollider interface.
This method returns a constant pointer to the node's Graph::ICollider interface, to be able to query common collider-related properties.
- Returns
- The constant Graph::ICollider interface
◆ GetMeshResourceTarget() [1/2]
|
pure virtual |
Get a mutable Graph::IMeshResourceTarget container.
This method returns a mutable pointer to a Graph::IMeshResourceTarget container, which allows to add, remove or query the mesh resources referenced by a node implementing this interface.
- Returns
- The mutable Graph::IMeshResourceTarget container, or null if not available
◆ GetMeshResourceTarget() [2/2]
|
pure virtual |
Get a constant Graph::IMeshResourceTarget container.
This method returns a constant pointer to a Graph::IMeshResourceTarget container, which allows to query the mesh resources referenced by a node implementing this interface.
- Returns
- The constant Graph::IMeshResourceTarget container, or null if not available
The documentation for this interface was generated from the following file:
- murl_graph_i_resource_mesh_collider.h