Isle
Loading...
Searching...
No Matches
CameraLocationVariable Class Reference

[AI] Variable for updating camera location and POV (field of view/frustum settings) for navigation and scene rendering. More...

#include <legovariables.h>

Inheritance diagram for CameraLocationVariable:
Collaboration diagram for CameraLocationVariable:

Public Member Functions

 CameraLocationVariable ()
 [AI] Initializes the CameraLocationVariable and sets its key to g_varCAMERALOCATION. [AI] More...
 
void SetValue (const char *p_value) override
 [AI] Sets the value of this variable, updating the navigation controller and 3D manager with camera coordinates/POV. More...
 
- Public Member Functions inherited from MxVariable
 MxVariable ()
 [AI] Constructs an empty variable with no key or value. More...
 
 MxVariable (const char *p_key, const char *p_value)
 [AI] Constructs a variable with the specified key and value. More...
 
 MxVariable (const char *p_key)
 [AI] Constructs a variable with the specified key and no value. More...
 
virtual MxStringGetValue ()
 [AI] Retrieves a pointer to the variable's value. More...
 
virtual void SetValue (const char *p_value)
 [AI] Sets the variable's value. More...
 
virtual void Destroy ()
 [AI] Destroys the variable, deleting the object. More...
 
const MxStringGetKey () const
 [AI] Provides read-only access to the variable's key/name. More...
 

Additional Inherited Members

- Protected Attributes inherited from MxVariable
MxString m_key
 [AI] The variable's key (name), always stored in uppercase. More...
 
MxString m_value
 [AI] The variable's value. More...
 

Detailed Description

[AI] Variable for updating camera location and POV (field of view/frustum settings) for navigation and scene rendering.

[AI] Parses the value as a comma-separated string updating the camera's logical location and, optionally, the field-of-view (perspective). Inherits from MxVariable. The variable key is set to g_varCAMERALOCATION.

Definition at line 81 of file legovariables.h.

Constructor & Destructor Documentation

◆ CameraLocationVariable()

CameraLocationVariable::CameraLocationVariable ( )
inline

[AI] Initializes the CameraLocationVariable and sets its key to g_varCAMERALOCATION. [AI]

Definition at line 84 of file legovariables.h.

Member Function Documentation

◆ SetValue()

void CameraLocationVariable::SetValue ( const char *  p_value)
overridevirtual

[AI] Sets the value of this variable, updating the navigation controller and 3D manager with camera coordinates/POV.

[AI]

Parameters
p_valueThe new value as a comma-delimited string (location[,field_of_view]). [AI]

Reimplemented from MxVariable.

Definition at line 132 of file legovariables.cpp.


The documentation for this class was generated from the following files: