8#ifndef META_OCEAN_RENDERING_BACKGROUND_H
9#define META_OCEAN_RENDERING_BACKGROUND_H
This class is the base class for all backgrounds.
Definition rendering/Background.h:37
virtual Scalar distance() const
Returns the distance between the world coordinate system and the background object.
Background()
Creates a new background object.
virtual bool setDistance(const Scalar distance)
Sets the distance between world coordinate system and the background object.
~Background() override
Destructs a background object.
Scalar distance_
The distance of this background.
Definition rendering/Background.h:91
virtual void setPosition(const Vector3 &position)
Sets the position used for this background.
ObjectType type() const override
Returns the type of this object.
virtual void setOrientation(const Quaternion &orientation)
Sets the orientation used for this background.
virtual Vector3 position() const
Returns the position used for this background.
virtual Quaternion orientation() const
Returns the orientation used for this background.
Node()
Creates a new node.
ObjectType
Definition of different object type.
Definition Object.h:62
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
QuaternionT< Scalar > Quaternion
Definition of the Quaternion object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with sin...
Definition Quaternion.h:40
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
float Scalar
Definition of a scalar type.
Definition Math.h:129
SmartObjectRef< Background > BackgroundRef
Definition of a smart object reference holding a background.
Definition rendering/Background.h:30
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15