This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
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.

CigiSymbolControl 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.
Inherits from: CigiHostPacket

CigiSymbolControl Class

Properties

int SymbolID#

The Symbol ID specified in the packet. Determines the symbol to which this packet shall be applied.

int ParentID#

The Parent Symbol ID specified in the packet. Determines the parent to which the IG shall attach the symbol.

int SurfaceID#

The Surface ID specified in the packet. Determines the symbol surface on which the IG shall draw the symbol.

int SymbolState#

The value of the Symbol State parameter specified in the packet. Determines whether the symbol is hidden, visible, or destroyed.

int AttachState#

The value of the Attach State parameter specified in the packet. Determines whether the symbol will be attached as a child to a parent symbol.

int FlashControl#

The value of the Flash Control parameter specified in the packet. Determines whether the IG shall continue the symbol’s flash cycle from its present state or restart it from the beginning.

int InheritColor#

The value of the Inherit Color parameter specified in the packet. Determines whether the symbol inherits its color from the symbol to which it is attached.

int Layer#

The value of the Layer parameter specified in the packet. Determines the layer to which the symbol shall be assigned.

int FlashDuty#

The value of the Flash Duty Cycle Percentage parameter specified in the packet. Determines the duty cycle for a flashing symbol, measured as a percentage of the flash period.

float FlashPeriod#

The value of the Flash Period parameter specified in the packet. This parameter specifies the duration of a single flash cycle. The IG makes the symbol visible for the duration of the duty cycle period and invisible for the remainder of the flash period.

float Rotation#

The value of the Rotation parameter specified in the packet. Determines the contrast of the sensor display.

vec3 Position#

The Returns the UV position of the symbol as a three-component vector combining Position U and Position V parameters specified in the packet.
Notice

For top-level (non-child) symbols, the IG defines position of the symbol with respect to the symbol surface’s 2D coordinate system.

For child symbols - with respect to the parent symbol’s local coordinate system.

vec3 Scale#

The scale vector of the symbol as a three-component vector combining Scale U and Scale V parameters specified in the packet.

vec4 Color#

The color of the symbol as a four-component vector combining Red, Green, Blue, and Alpha parameters specified in the packet.

Members


Last update: 2022-12-14
Build: ()