Unigine::Plugins::SpiderVision::EasyBlendData Class
Header: | #include <plugins/Unigine/SpiderVision/UnigineSpiderVision.h> |
This class manages the data created in EasyBlend to arrange projections. The object of this class stores a mesh created on the basis of *.ol file to modify the viewport image accordingly.
This object is accessible via the corresponding method of the ViewportData class.
The supported version of EasyBlend SDK is Scalable 7.0.
The color correction data are stored in the configuration file.
EasyBlendData Class
Members
bool loadFile ( const char * filepath ) #
Loads the EasyBlend setup from file.Arguments
- const char * filepath - Path to the EasyBlend setup file.
Return value
true if the EasyBlend setup is loaded successfully, otherwise false.void clear ( ) #
Clears the EasyBlend setup.bool isLoaded ( ) const#
Returns the value indicating if the EasyBlend setup is loaded.Return value
true if the EasyBlend setup is loaded, otherwise false.String getFilePath ( ) const#
Returns the path to the EasyBlend setup file.Return value
Path to the EasyBlend setup file.Ptr<MeshDynamic> getMesh ( ) const#
Returns the dynamic mesh representing the EasyBlend setup.Return value
Dynamic mesh representing the EasyBlend setup.void saveXml ( const Ptr<Xml> & xml ) #
Saves the EasyBlend data to the given instance of the Xml class.Arguments
bool restoreXml ( const Ptr<Xml> & xml ) #
Loads the EasyBlend data from the specified instance of the Xml class.Arguments
Return value
true if the data has been loaded successfully, otherwise false.void save ( const Ptr<Stream> & stream ) #
Saves the EasyBlend data to the specified stream.Arguments
void restore ( const Ptr<Stream> & stream ) #
Loads the EasyBlend data from the specified stream.Arguments
void applyData ( ViewportData * OUT_data ) #
Applies the EasyBlend setup to the viewport data.Arguments
- ViewportData * OUT_data - ViewportData class instance that stores the viewport data.This output buffer is to be filled by the Engine as a result of executing the method.
Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter