|
API Documentation
|
|
|
void unregisterListener(NodeChangeListener *listener)
virtual void setScaleAbsolute(const nkMaths::Vector &value)
void setHidden(bool value)
Node * getParentNode() const
Main interface with the component system.
Definition: System.h:14
nkMaths::Quaternion getOrientationAbsolute()
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
nkMaths::Vector getAbsoluteUp()
A quaternion, symbolizing rotations as a 4D vector.
Definition: Quaternion.h:14
virtual void importClassFromTree(nkExport::Node *rootNode) override
void stopEntityTracking(Entity *entity)
nkMaths::Vector getScaleAbsolute()
void setRelativeTransform(const nkMaths::Matrix &value)
nkMemory::StringView getName() const
Represents a 4x4 float matrix.
Definition: Matrix.h:14
void setName(nkMemory::StringView value)
virtual void translateRelative(const nkMaths::Vector &value)
void setParentNode(Node *parent)
virtual void setOrientationAbsolute(const nkMaths::Quaternion &value)
Entity * getTrackedEntity(unsigned int index) const
virtual void setOrientationRelative(const nkMaths::Quaternion &value)
nkMaths::Quaternion getOrientationRelative() const
virtual void translateAbsolute(const nkMaths::Vector &value)
An entity in a render queue. It drives the shader and possible graph position for a set of renderable...
Definition: Entity.h:15
nkMaths::Vector getPositionAbsolute()
nkMaths::Vector getAbsoluteRight()
virtual void exportClassToTree(nkExport::Node *rootNode) override
void addEntityToTrack(Entity *entity)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
unsigned int getTrackedEntityCount() const
nkMaths::Matrix getRelativeTransform()
virtual void applyScale(const nkMaths::Vector &value)
nkMaths::Vector getPositionRelative() const
static nkMemory::UniquePtr< Node > create(System *system=nullptr)
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
void dispatchDirtyTransform()
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
nkMaths::Vector getAbsoluteFront()
virtual void rotateAbsolute(const nkMaths::Quaternion &value)
virtual void setPositionAbsolute(const nkMaths::Vector &value)
void setAbsoluteTransform(const nkMaths::Matrix &value)
void registerListener(NodeChangeListener *listener)
void updateTransformations()
Represents a node in a scene graph.
Definition: Node.h:16
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
virtual void setScaleRelative(const nkMaths::Vector &value)
Node * getChildNode(unsigned int index) const
A 4-component vector class, with floats.
Definition: Vector.h:12
virtual void setPositionRelative(const nkMaths::Vector &value)
virtual void rotateRelative(const nkMaths::Quaternion &value)
A base class for a listener for node changes.
Definition: NodeChangeListener.h:12
unsigned int getNumChildNode() const
nkMaths::Matrix getAbsoluteTransform()
nkMaths::Vector getScaleRelative() const