Page MenuHomePhorge

NodeInterface.h
No OneTemporary

Size
878 B
Referenced Files
None
Subscribers
None

NodeInterface.h

#ifndef _ECHONODEINTERFACE_H_
#define _ECHONODEINTERFACE_H_
#include <echo/Maths/Vector3.h>
namespace Echo
{
//NodeInterface provides an interface to a node object.
class NodeInterface
{
public:
NodeInterface()
{
}
virtual ~NodeInterface()
{
}
//Derived accessors
virtual const Vector3& GetDerivedPosition() const = 0;
virtual const Vector3& GetDerivedScale() const = 0;
virtual const Quaternion& GetDerivedOrientation() const = 0;
//Local accessors
virtual void SetPosition(const Vector3& position) = 0;
virtual void SetScale(const Vector3& scale) = 0;
virtual void SetOrientation(const Quaternion& orientation) = 0;
virtual const Vector3& GetPosition() const = 0;
virtual const Vector3& GetScale() const = 0;
virtual const Quaternion& GetOrientation() const = 0;
};
}
#endif //_ENODEINTERFACE_H_

File Metadata

Mime Type
text/x-c++
Expires
Thu, Dec 5, 2:15 AM (7 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
61917
Default Alt Text
NodeInterface.h (878 B)

Event Timeline