This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
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
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
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.

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.

This class represents the IG Symbols Controller interface. A symbol is a single drawing primitive or a group of drawing primitives that may be drawn on a symbol surface (plane) within a particular view or placed in 3D space relative to a particular entity.

The following symbol types are available: Polyline, Text, Circle.

Notice
IG plugin must be loaded.

SymbolsController Class

Enums

SYMBOL_TYPE#

NameDescription
POLYLINE = 0Polyline.
TEXT = 1Text.
CIRCLE = 2Circle.

Members


Symbol * cloneSymbol ( int symbol_id, int new_symbol_id ) #

Clones a symbol with the specified ID.

Arguments

  • int symbol_id - ID of the symbol to be cloned.
  • int new_symbol_id - ID of the new symbol.

Return value

SymbolsPlane * createPlane ( int plane_id, View * view ) #

Creates a new symbols surface (a virtual plane on which symbols are drawn).A new surface is placed in 3D space coincident with the near clipping plane of the specified view.

Arguments

  • int plane_id - ID of the symbol.
  • View * view - View relative to which a new symbols surface is to be placed.

Return value

SymbolsPlane * createPlane ( int plane_id, Entity * entity ) #

Creates a new symbols surface (a virtual plane on which symbols are drawn). A new surface is placed in 3D space relative to the specified entity.

Arguments

  • int plane_id - ID of the symbol.
  • Entity * entity - Entity relative to which a new symbols surface is to be placed.

Return value

Symbol * getSymbol ( int symbol_id ) #

Returns the interface of the specified symbol.

Arguments

  • int symbol_id - ID of the symbol.

Return value

SymbolsPlane * getPlane ( int plane_id ) #

Returns the interface of the specified symbols surface (a virtual plane on which symbols are drawn).

Arguments

  • int plane_id - ID of the symbols surface.

Return value

Last update: 2021-04-29
Build: ()