This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
Внимание! Эта версия документация УСТАРЕЛА, поскольку относится к более ранней версии SDK! Пожалуйста, переключитесь на самую актуальную документацию для последней версии SDK.
Внимание! Эта версия документации описывает устаревшую версию SDK, которая больше не поддерживается! Пожалуйста, обновитесь до последней версии SDK.

Player Dummy

A dummy player is a simple viewport into the world that has no physical properties and cannot collide with objects.

See also

Creating a Dummy Player

To create a dummy player an Add Player option in the list of nodes in Editor panel. In the opened creation dialog window choose the Dummy tab and specify initial parameters:

Creation Window
Field of View The vertical player's field of view, in degrees.
Near Clipping The value of the near clipping plane of the player's viewing frustum, in units.
Far Clipping The value of the far clipping plane of the player's viewing frustum, in units.

After the initial parameters are set, press Ok button and place the camera somewhere in the world.

Editing a Dummy Player

In the Player tab you can adjust the following parameters of the dummy player:

A Player tab

Setting Bit Masks

A set of bit-masks available for the player:

Viewport A viewport mask, specifying objects that can be seen in the camera's viewport.
Reflection A reflection mask, specifying if the reflections will be rendered into the camera's viewport.
Source A sound source mask, specifying what sound channels are played for this camera.
Reverb A reverberation mask, specifying what reverberations are played for this camera.

Viewing Frustum Parameters

Parameters defining a camera's viewing frustum:

Field of View The vertical player's field of view, in degrees.
Near Clipping The distance to the near clipping plane of the player's viewing frustum, in units.
Far Clipping The distance to the far clipping plane of the player's viewing frustum, in units.

Camera Editor

There is a special tool for editing camera's position and direction manually:

Edit a Camera

In this mode only the camera is available for editing. Use controls to set new position and direction for the camera. After choosing to save all the changes made to the node or to cancel them, the list of the scene nodes will appear again.

Camera Editor

Post-processed Materials

In the Materials tab you can add post-processed materials to the camera. They will be applied after all other post-processes (such as HDR, DOF, etc.) are applied.

A Materials tab

Add Add a post-processed material from the dialog window appeared to the materials list.
Remove Remove a post-processed material from the materials list.
Up Move a material up in the materials list.
Down Move a material down in the materials list.
Last update: 03.07.2017
Build: ()