This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

CigiHatHotRequest Class

Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to Sim SDK edition to use it.
Header: #include <plugins/Unigine/CIGIConnector/UnigineCIGIConnector.h>
Inherits from: CigiHostPacket

CigiHatHotRequest Class

Members


int getHatHotID ( ) const#

Returns the value of the HAT/HOT ID parameter specified in the packet.

Return value

HAT/HOT ID parameter value.

int getEntityID ( ) const#

Returns the entity ID specified in the packet.

Return value

Entity ID.

int getRequestType ( ) const#

Returns the value of the Request Type parameter specified in the packet.

Return value

Request Type parameter value. The following values are supported:
  • 0 - HAT
  • 1 - HOT
  • 2 - Extended

int getCoordSystem ( ) const#

Returns the value of the Coordinate System parameter specified in the packet.

Return value

Coordinate System parameter value. The following values are supported:
  • 0 - Geodetic
  • 1 - Entity

int getUpdatePeriod ( ) const#

Returns the value of the Update Period parameter specified in the packet. Determines the interval between successive responses to this request.

Return value

Update Period parameter value:
  • 0 - One-Shot request
  • > 0 - update period

Math::dvec3 getPosition ( ) const#

Returns the coordinates of the point, from which the HAT/HOT request is being made.

Return value

Coordinates of the point, from which the HAT/HOT request is being made.
Last update: 2023-06-23
Build: ()