This page has been translated automatically.
Программирование
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Unigine Namespace Items

CallbackBase * MakeCallback(Ret(*)() func)

Makes a function callback. The function can receive up to 4 arguments.

Arguments

  • Ret(*)() func - Pointer to the function.

Return value

Pointer to the callback.

CallbackBase * MakeCallback(Class * func)

Makes a class member function callback. The function can receive up to 4 arguments.

Arguments

  • Class * func - Pointer to the class member function.

Return value

Pointer to the callback.

int AtomicCAS(volatile int * ptr, int old_value, int new_value)

Unigine atomic compare and swap.

Arguments

  • volatile int * ptr - Pointer to the variable.
  • int old_value - The old pointer value.
  • int new_value - The new pointer value.

Return value

Returns 1 if the variable value was successfully swaped; otherwise, 0 is returned.

void SpinLock(volatile int * ptr, int old_value, int new_value)

Unigine SpinLock.

Arguments

  • volatile int * ptr - Pointer to the variable.
  • int old_value - The old pointer value.
  • int new_value - The new pointer value.

void WaitLock(volatile int * ptr, int value)

Unigine WaitLock.

Arguments

  • volatile int * ptr - Pointer to the variable.
  • int value - The pointer value.

void quickSort(Type * array, int size)

Sorts the input array with default compare algorithm.

Arguments

  • Type * array - The array pointer.
  • int size - The array size.

void quickSort(Type * array, int size, Compare compare)

Sorts the input array with specified compare functor.

Arguments

  • Type * array - The array pointer.
  • int size - The array size.
  • Compare compare - Compare functor.

void quickSort(Type * array, int size, int(*)(A0, A1) func)

Sorts the input array with specified compare function.

Arguments

  • Type * array - The array pointer.
  • int size - The array size.
  • int(*)(A0, A1) func - Compare function.

void quickDoubleSort(Type * array, Data * data, int size)

Sorts the input array with default compare algorithm.

Arguments

  • Type * array - The array pointer.
  • Data * data - The data pointer.
  • int size - The array size.

void quickDoubleSort(Type * array, Data * data, int size, Compare compare)

Sorts the input array with specified compare functor.

Arguments

  • Type * array - The array pointer.
  • Data * data - The data pointer.
  • int size - The array size.
  • Compare compare - Compare functor.

void quickDoubleSort(Type * array, Data * data, int size, int(*)(A0, A1) func)

Sorts the input array with specified compare function.

Arguments

  • Type * array - The array pointer.
  • Data * data - The data pointer.
  • int size - The array size.
  • int(*)(A0, A1) func - Compare function.

BlobPtrType Definition

Description

Full declaration:
typedef Ptr<Blob> Unigine::BlobPtr

Blob smart pointer.

ControlsPtrType Definition

Description

Full declaration:
typedef Ptr<Controls> Unigine::ControlsPtr

Controls smart pointer.

DecalPtrType Definition

Description

Full declaration:
typedef Ptr<Decal> Unigine::DecalPtr

Decal smart pointer.

DecalMeshPtrType Definition

Description

Full declaration:
typedef Ptr<DecalMesh> Unigine::DecalMeshPtr

DecalMesh smart pointer.

DecalOrthoPtrType Definition

Description

Full declaration:
typedef Ptr<DecalOrtho> Unigine::DecalOrthoPtr

DecalOrtho smart pointer.

DecalProjPtrType Definition

Description

Full declaration:
typedef Ptr<DecalProj> Unigine::DecalProjPtr

DecalProj smart pointer.

DecalObjectPtrType Definition

Description

Full declaration:
typedef Ptr<DecalObject> Unigine::DecalObjectPtr

DecalObject smart pointer.

DecalObjectOmniPtrType Definition

Description

Full declaration:
typedef Ptr<DecalObjectOmni> Unigine::DecalObjectOmniPtr

DecalObjectOmni smart pointer.

DecalObjectOrthoPtrType Definition

Description

Full declaration:
typedef Ptr<DecalObjectOrtho> Unigine::DecalObjectOrthoPtr

DecalObjectOrtho smart pointer.

DecalObjectProjPtrType Definition

Description

Full declaration:
typedef Ptr<DecalObjectProj> Unigine::DecalObjectProjPtr

DecalObjectProj smart pointer.

DecalTerrainOrthoPtrType Definition

Description

Full declaration:
typedef Ptr<DecalTerrainOrtho> Unigine::DecalTerrainOrthoPtr

DecalTerrainOrtho smart pointer.

DecalTerrainProjPtrType Definition

Description

Full declaration:
typedef Ptr<DecalTerrainProj> Unigine::DecalTerrainProjPtr

DecalTerrainProj smart pointer.

FieldPtrType Definition

Description

Full declaration:
typedef Ptr<Field> Unigine::FieldPtr

Field smart pointer.

FieldAnimationPtrType Definition

Description

Full declaration:
typedef Ptr<FieldAnimation> Unigine::FieldAnimationPtr

FieldAnimation smart pointer.

FieldSpacerPtrType Definition

Description

Full declaration:
typedef Ptr<FieldSpacer> Unigine::FieldSpacerPtr

FieldSpacer smart pointer.

FilePtrType Definition

Description

Full declaration:
typedef Ptr<File> Unigine::FilePtr

File smart pointer.

GuiPtrType Definition

Description

Full declaration:
typedef Ptr<Gui> Unigine::GuiPtr

Gui smart pointer.

ImagePtrType Definition

Description

Full declaration:
typedef Ptr<Image> Unigine::ImagePtr

Image smart pointer.

LightPtrType Definition

Description

Full declaration:
typedef Ptr<Light> Unigine::LightPtr

Light smart pointer.

LightOmniPtrType Definition

Description

Full declaration:
typedef Ptr<LightOmni> Unigine::LightOmniPtr

LightOmni smart pointer.

LightProbPtrType Definition

Description

Full declaration:
typedef Ptr<LightProb> Unigine::LightProbPtr

LightProb smart pointer.

LightProjPtrType Definition

Description

Full declaration:
typedef Ptr<LightProj> Unigine::LightProjPtr

LightProj smart pointer.

LightSpotPtrType Definition

Description

Full declaration:
typedef Ptr<LightSpot> Unigine::LightSpotPtr

LightSpot smart pointer.

LightWorldPtrType Definition

Description

Full declaration:
typedef Ptr<LightWorld> Unigine::LightWorldPtr

LightWorld smart pointer.

MaterialPtrType Definition

Description

Full declaration:
typedef Ptr<Material> Unigine::MaterialPtr

Material smart pointer.

MeshPtrType Definition

Description

Full declaration:
typedef Ptr<Mesh> Unigine::MeshPtr

Mesh smart pointer.

NodePtrType Definition

Description

Full declaration:
typedef Ptr<Node> Unigine::NodePtr

Node smart pointer.

NodeDummyPtrType Definition

Description

Full declaration:
typedef Ptr<NodeDummy> Unigine::NodeDummyPtr

NodeDummy smart pointer.

NodeExternPtrType Definition

Description

Full declaration:
typedef Ptr<NodeExtern> Unigine::NodeExternPtr

NodeExtern smart pointer.

NodeLayerPtrType Definition

Description

Full declaration:
typedef Ptr<NodeLayer> Unigine::NodeLayerPtr

NodeLayer smart pointer.

NodePivotPtrType Definition

Description

Full declaration:
typedef Ptr<NodePivot> Unigine::NodePivotPtr

NodePivot smart pointer.

NodeReferencePtrType Definition

Description

Full declaration:
typedef Ptr<NodeReference> Unigine::NodeReferencePtr

NodeReference smart pointer.

NodeTriggerPtrType Definition

Description

Full declaration:
typedef Ptr<NodeTrigger> Unigine::NodeTriggerPtr

NodeTrigger smart pointer.

ObjectPtrType Definition

Description

Full declaration:
typedef Ptr<Object> Unigine::ObjectPtr

Object smart pointer.

ObjectBillboardPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectBillboard> Unigine::ObjectBillboardPtr

ObjectBillboard smart pointer.

ObjectBillboardsPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectBillboards> Unigine::ObjectBillboardsPtr

ObjectBillboards smart pointer.

ObjectDummyPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectDummy> Unigine::ObjectDummyPtr

ObjectDummy smart pointer.

ObjectDynamicPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectDynamic> Unigine::ObjectDynamicPtr

ObjectDynamic smart pointer.

ObjectExternPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectExtern> Unigine::ObjectExternPtr

ObjectExtern smart pointer.

ObjectGuiPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectGui> Unigine::ObjectGuiPtr

ObjectGui smart pointer.

ObjectGuiMeshPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectGuiMesh> Unigine::ObjectGuiMeshPtr

ObjectGuiMesh smart pointer.

ObjectMeshClusterPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectMeshCluster> Unigine::ObjectMeshClusterPtr

ObjectMeshCluster smart pointer.

ObjectMeshDynamicPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectMeshDynamic> Unigine::ObjectMeshDynamicPtr

ObjectMeshDynamic smart pointer.

ObjectMeshSkinnedPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectMeshSkinned> Unigine::ObjectMeshSkinnedPtr

ObjectMeshSkinned smart pointer.

ObjectMeshStaticPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectMeshStatic> Unigine::ObjectMeshStaticPtr

ObjectMeshStatic smart pointer.

ObjectParticlesPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectParticles> Unigine::ObjectParticlesPtr

ObjectParticles smart pointer.

ObjectTerrainPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectTerrain> Unigine::ObjectTerrainPtr

ObjectTerrain smart pointer.

ObjectVolumeBoxPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectVolumeBox> Unigine::ObjectVolumeBoxPtr

ObjectVolumeBox smart pointer.

ObjectVolumeOmniPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectVolumeOmni> Unigine::ObjectVolumeOmniPtr

ObjectVolumeOmni smart pointer.

ObjectVolumeProjPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectVolumeProj> Unigine::ObjectVolumeProjPtr

ObjectVolumeProj smart pointer.

ObjectVolumeSpherePtrType Definition

Description

Full declaration:
typedef Ptr<ObjectVolumeSphere> Unigine::ObjectVolumeSpherePtr

ObjectVolumeSphere smart pointer.

ObjectWaterPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectWater> Unigine::ObjectWaterPtr

ObjectWater smart pointer.

ObjectWaterMeshPtrType Definition

Description

Full declaration:
typedef Ptr<ObjectWaterMesh> Unigine::ObjectWaterMeshPtr

ObjectWaterMesh smart pointer.

PathPtrType Definition

Description

Full declaration:
typedef Ptr<Path> Unigine::PathPtr

Path smart pointer.

PhysicalPtrType Definition

Description

Full declaration:
typedef Ptr<Physical> Unigine::PhysicalPtr

Physical smart pointer.

PhysicalForcePtrType Definition

Description

Full declaration:
typedef Ptr<PhysicalForce> Unigine::PhysicalForcePtr

PhysicalForce smart pointer.

PhysicalNoisePtrType Definition

Description

Full declaration:
typedef Ptr<PhysicalNoise> Unigine::PhysicalNoisePtr

PhysicalNoise smart pointer.

PhysicalTriggerPtrType Definition

Description

Full declaration:
typedef Ptr<PhysicalTrigger> Unigine::PhysicalTriggerPtr

PhysicalTrigger smart pointer.

PhysicalWaterPtrType Definition

Description

Full declaration:
typedef Ptr<PhysicalWater> Unigine::PhysicalWaterPtr

PhysicalWater smart pointer.

PhysicalWindPtrType Definition

Description

Full declaration:
typedef Ptr<PhysicalWind> Unigine::PhysicalWindPtr

PhysicalWind smart pointer.

PlayerPtrType Definition

Description

Full declaration:
typedef Ptr<Player> Unigine::PlayerPtr

Player smart pointer.

PlayerActorPtrType Definition

Description

Full declaration:
typedef Ptr<PlayerActor> Unigine::PlayerActorPtr

PlayerActor smart pointer.

PlayerDummyPtrType Definition

Description

Full declaration:
typedef Ptr<PlayerDummy> Unigine::PlayerDummyPtr

PlayerDummy smart pointer.

PlayerPersecutorPtrType Definition

Description

Full declaration:
typedef Ptr<PlayerPersecutor> Unigine::PlayerPersecutorPtr

PlayerPersecutor smart pointer.

PlayerSpectatorPtrType Definition

Description

Full declaration:
typedef Ptr<PlayerSpectator> Unigine::PlayerSpectatorPtr

PlayerSpectator smart pointer.

PropertyPtrType Definition

Description

Full declaration:
typedef Ptr<Property> Unigine::PropertyPtr

Property smart pointer.

ShaderPtrType Definition

Description

Full declaration:
typedef Ptr<Shader> Unigine::ShaderPtr

Shader smart pointer.

SocketPtrType Definition

Description

Full declaration:
typedef Ptr<Socket> Unigine::SocketPtr

Socket smart pointer.

StreamPtrType Definition

Description

Full declaration:
typedef Ptr<Stream> Unigine::StreamPtr

Stream smart pointer.

TexturePtrType Definition

Description

Full declaration:
typedef Ptr<Texture> Unigine::TexturePtr

Texture smart pointer.

TextureRenderPtrType Definition

Description

Full declaration:
typedef Ptr<TextureRender> Unigine::TextureRenderPtr

TextureRender smart pointer.

UserInterfacePtrType Definition

Description

Full declaration:
typedef Ptr<UserInterface> Unigine::UserInterfacePtr

UserInterface smart pointer.

WidgetPtrType Definition

Description

Full declaration:
typedef Ptr<Widget> Unigine::WidgetPtr

Widget smart pointer.

WidgetButtonPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetButton> Unigine::WidgetButtonPtr

WidgetButton smart pointer.

WidgetCanvasPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetCanvas> Unigine::WidgetCanvasPtr

WidgetCanvas smart pointer.

WidgetCheckBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetCheckBox> Unigine::WidgetCheckBoxPtr

WidgetCheckBox smart pointer.

WidgetComboBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetComboBox> Unigine::WidgetComboBoxPtr

WidgetComboBox smart pointer.

WidgetDialogPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetDialog> Unigine::WidgetDialogPtr

WidgetDialog smart pointer.

WidgetDialogColorPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetDialogColor> Unigine::WidgetDialogColorPtr

WidgetDialogColor smart pointer.

WidgetDialogFilePtrType Definition

Description

Full declaration:
typedef Ptr<WidgetDialogFile> Unigine::WidgetDialogFilePtr

WidgetDialogFile smart pointer.

WidgetDialogImagePtrType Definition

Description

Full declaration:
typedef Ptr<WidgetDialogImage> Unigine::WidgetDialogImagePtr

WidgetDialogImage smart pointer.

WidgetDialogMessagePtrType Definition

Description

Full declaration:
typedef Ptr<WidgetDialogMessage> Unigine::WidgetDialogMessagePtr

WidgetDialogMessage smart pointer.

WidgetEditLinePtrType Definition

Description

Full declaration:
typedef Ptr<WidgetEditLine> Unigine::WidgetEditLinePtr

WidgetEditLine smart pointer.

WidgetEditTextPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetEditText> Unigine::WidgetEditTextPtr

WidgetEditText smart pointer.

WidgetExternPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetExtern> Unigine::WidgetExternPtr

WidgetExtern smart pointer.

WidgetGridBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetGridBox> Unigine::WidgetGridBoxPtr

WidgetGridBox smart pointer.

WidgetGroupBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetGroupBox> Unigine::WidgetGroupBoxPtr

WidgetGroupBox smart pointer.

WidgetHBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetHBox> Unigine::WidgetHBoxPtr

WidgetHBox smart pointer.

WidgetHPanedPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetHPaned> Unigine::WidgetHPanedPtr

WidgetHPaned smart pointer.

WidgetIconPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetIcon> Unigine::WidgetIconPtr

WidgetIcon smart pointer.

WidgetLabelPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetLabel> Unigine::WidgetLabelPtr

WidgetLabel smart pointer.

WidgetListBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetListBox> Unigine::WidgetListBoxPtr

WidgetListBox smart pointer.

WidgetMenuBarPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetMenuBar> Unigine::WidgetMenuBarPtr

WidgetMenuBar smart pointer.

WidgetMenuBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetMenuBox> Unigine::WidgetMenuBoxPtr

WidgetMenuBox smart pointer.

WidgetScrollPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetScroll> Unigine::WidgetScrollPtr

WidgetScroll smart pointer.

WidgetScrollBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetScrollBox> Unigine::WidgetScrollBoxPtr

WidgetScrollBox smart pointer.

WidgetSliderPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetSlider> Unigine::WidgetSliderPtr

WidgetSlider smart pointer.

WidgetSpacerPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetSpacer> Unigine::WidgetSpacerPtr

WidgetSpacer smart pointer.

WidgetSpinBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetSpinBox> Unigine::WidgetSpinBoxPtr

WidgetSpinBox smart pointer.

WidgetSpritePtrType Definition

Description

Full declaration:
typedef Ptr<WidgetSprite> Unigine::WidgetSpritePtr

WidgetSprite smart pointer.

WidgetTabBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetTabBox> Unigine::WidgetTabBoxPtr

WidgetTabBox smart pointer.

WidgetTreeBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetTreeBox> Unigine::WidgetTreeBoxPtr

WidgetTreeBox smart pointer.

WidgetVBoxPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetVBox> Unigine::WidgetVBoxPtr

WidgetVBox smart pointer.

WidgetVPanedPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetVPaned> Unigine::WidgetVPanedPtr

WidgetVPaned smart pointer.

WidgetWindowPtrType Definition

Description

Full declaration:
typedef Ptr<WidgetWindow> Unigine::WidgetWindowPtr

WidgetWindow smart pointer.

WorldIntersectionPtrType Definition

Description

Full declaration:
typedef Ptr<WorldIntersection> Unigine::WorldIntersectionPtr

WorldIntersectionNormalPtrType Definition

Description

Full declaration:
typedef Ptr<WorldIntersectionNormal> Unigine::WorldIntersectionNormalPtr

WorldIntersectionTexCoordPtrType Definition

Description

Full declaration:
typedef Ptr<WorldIntersectionTexCoord> Unigine::WorldIntersectionTexCoordPtr

WorldExternPtrType Definition

Description

Full declaration:
typedef Ptr<WorldExtern> Unigine::WorldExternPtr

WorldExtern smart pointer.

WorldLayerPtrType Definition

Description

Full declaration:
typedef Ptr<WorldLayer> Unigine::WorldLayerPtr

WorldLayer smart pointer.

WorldPortalPtrType Definition

Description

Full declaration:
typedef Ptr<WorldPortal> Unigine::WorldPortalPtr

WorldPortal smart pointer.

WorldSectorPtrType Definition

Description

Full declaration:
typedef Ptr<WorldSector> Unigine::WorldSectorPtr

WorldSector smart pointer.

WorldSwitcherPtrType Definition

Description

Full declaration:
typedef Ptr<WorldSwitcher> Unigine::WorldSwitcherPtr

WorldSwitcher smart pointer.

WorldTriggerPtrType Definition

Description

Full declaration:
typedef Ptr<WorldTrigger> Unigine::WorldTriggerPtr

WorldTrigger smart pointer.

XmlPtrType Definition

Description

Full declaration:
typedef Ptr<Xml> Unigine::XmlPtr

Xml smart pointer.
Last update: 21.12.2017
Build: ()