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.
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.
Scalar backgroundDistance
Background distance;.
Definition: rendering/Background.h:91
This is the base class for all rendering nodes.
Definition: rendering/Node.h:47
ObjectType
Definition of different object type.
Definition: Object.h:63
This class implements a smart rendering object reference.
Definition: rendering/ObjectRef.h:34
float Scalar
Definition of a scalar type.
Definition: Math.h:128
SmartObjectRef< Background > BackgroundRef
Definition of a smart object reference holding a background.
Definition: rendering/Background.h:23
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15