![]() |
RAMSES Documentation
27.0.130
Information for RAMSES users and developers
|
The DataVector2f data object stores a vector with 2 float components within a scene. More...
#include <DataVector2f.h>
Public Member Functions | |
status_t | setValue (float x, float y) |
Sets/updates the stored values of the vector. More... | |
status_t | getValue (float &x, float &y) const |
Gets all stored values of the vector. More... | |
![]() | |
sceneObjectId_t | getSceneObjectId () const |
Returns scene object id which is automatically assigned at creation time of object and is unique within scope of one scene. More... | |
sceneId_t | getSceneId () const |
Returns sceneid to which this object belongs to. More... | |
![]() | |
const char * | getName () const |
Returns the name of the object. More... | |
status_t | setName (const char *name) |
Changes the name of the object. More... | |
ERamsesObjectType | getType () const |
Gets type of the object. More... | |
bool | isOfType (ERamsesObjectType type) const |
Checks if the object is of given type. More... | |
![]() | |
status_t | validate () const |
Generates verbose validation of the object. More... | |
const char * | getValidationReport (EValidationSeverity minSeverity=EValidationSeverity_Info) const |
Provides verbose report in human readable form generated by validate. More... | |
const char * | getStatusMessage (status_t status) const |
Get the string description for a status provided by a RAMSES API function. More... | |
StatusObject (const StatusObject &other)=delete | |
Deleted copy constructor. More... | |
StatusObject & | operator= (const StatusObject &other)=delete |
Deleted copy assignment. More... | |
Protected Member Functions | |
DataVector2f (DataObjectImpl &pimpl) | |
Constructor of DataVector2f. More... | |
virtual | ~DataVector2f () |
Destructor of the DataVector2f. More... | |
![]() | |
DataObject (DataObjectImpl &pimpl) | |
Constructor of DataObject. More... | |
virtual | ~DataObject () |
Destructor for a DataObject. More... | |
![]() | |
SceneObject (SceneObjectImpl &pimpl) | |
Constructor for SceneObject. More... | |
virtual | ~SceneObject () |
Destructor of the SceneObject. More... | |
![]() | |
ClientObject (ClientObjectImpl &pimpl) | |
Constructor for ClientObject. More... | |
virtual | ~ClientObject () |
Destructor of the ClientObject. More... | |
![]() | |
RamsesObject (RamsesObjectImpl &pimpl) | |
Constructor for RamsesObject. More... | |
virtual | ~RamsesObject () |
Destructor of the RamsesObject. More... | |
![]() | |
StatusObject (StatusObjectImpl &pimpl) | |
Constructor for StatusObject. More... | |
virtual | ~StatusObject () |
Destructor of the StatusObject. More... | |
Friends | |
class | SceneImpl |
Scene is the factory for creating DataVector2f instances. More... | |
Additional Inherited Members | |
![]() | |
class DataObjectImpl & | impl |
![]() | |
class SceneObjectImpl & | impl |
![]() | |
class ClientObjectImpl & | impl |
![]() | |
class RamsesObjectImpl & | impl |
![]() | |
class StatusObjectImpl & | impl |
The DataVector2f data object stores a vector with 2 float components within a scene.
|
explicitprotected |
Constructor of DataVector2f.
[in] | pimpl | Internal data for implementation specifics of a DataObject (sink - instance becomes owner) |
|
protectedvirtual |
Destructor of the DataVector2f.
status_t ramses::DataVector2f::getValue | ( | float & | x, |
float & | y | ||
) | const |
Gets all stored values of the vector.
[out] | x | value of the first component of the vector. |
[out] | y | value of the second component of the vector. |
status_t ramses::DataVector2f::setValue | ( | float | x, |
float | y | ||
) |
Sets/updates the stored values of the vector.
[in] | x | new value for the first component of the vector. |
[in] | y | new value for the second component of the vector. |
|
friend |
Scene is the factory for creating DataVector2f instances.