Object class
#include <nCine/Base/Object.h>
Base class of nCine objects.
Derived classes
- class AudioBuffer
- OpenAL audio buffer.
- class IAudioPlayer
- Audio player interface.
- class SceneNode
- Base class for the transformation nodes hierarchy.
- class Shader
- Shader.
- class Texture
- Texture.
Public types
- enum class ObjectType { Base = 0, Texture, Shader, SceneNode, Sprite, MeshSprite, AnimatedSprite, Particle, ParticleSystem, AudioBuffer, AudioBufferPlayer, AudioStreamPlayer }
- Object types.
Public static functions
- static auto sType() -> ObjectType
- Static method to return class type.
Constructors, destructors, conversion operators
- Object(ObjectType type) explicit
- Constructs an object with a specified type and adds it to the index.
- ~Object() pure virtual
- Removes an object from the index and then destroys it.
- Object(Object&& other) noexcept
- Object(const Object& other) protected
- Protected copy constructor used to clone objects.
Public functions
Protected variables
- ObjectType _type
- Object type.