Documentation/Entity Types/Special/CutSceneManager.type

From NeoAxis 3D Engine Wiki

Jump to: navigation, search
Go to higher level

Description

CutSceneManager.type is a game object type used for creating cut scenes.

CutSceneManager 01.jpg

The "Data\Maps\CusSceneDemo\Map.map" map is a perfect example.

CutSceneManager 04.jpg

Methods of CutSceneManager.type are convenient to use in the logic editor.

CutSceneManager 02.jpg

You can access properties and methods of the scene manager in the logic editor through the action list. Select the CutSceneManager item in the Static Members group.

CutSceneManager 03.jpg

Properties

The scene manager has no special parameters.

Name Description
class Entity
Components List of attached components.
LogicClass Reference to the Logic Editor class. Read more about how to work with the Logic Editor class.
Name Object name.
Tags User defined information. Defined as keyvalue pairs. It is used for user's needs.
Type Object type. It can not be changed.

Methods

The following properties of the CutSceneManager class can be used while creating map logic:

Name Parameters Description
SetCamera cameraOrCameraCurvecamera or camera curve. Makes the designated camera active.
ResetCamera Not presented. Resets camera setting to default.
FadeIn time — screen fading time in seconds. The screen smoothly fades in.
FadeOut time — screen fading time in seconds. The screen smoothly fades out.
FadeInOut timeIn – screen fade in time, timeOut – screen fade out time. Smooth screen fading in and out.
PlaySound name – the name of the wave file. Sound playback.
SetMessage text – text of the message, time – show time in seconds, color – font color. Display a text for the scene. Can be used to display characters' dialog.
PlayObjectAnimation obj – map object, animationName – animation name. Game object’s animation playback.