Documentation/Entity Types/Base/MapCameraCurve.type

From NeoAxis Engine Wiki

Jump to: navigation, search
Go to higher level
MapCameraCurve.type

Contents

Description

MapCameraCurve.type allows you to create a motion path for camera on the map. To create a static camera use MapCamera.type. Motion path is created by placing key points on the map.

To see the camera motion path, select the camera curve and hold C.

Example can be found in CutSceneDemo.

Creation

Motion path is created as followed. First place MapCameraCurve on the map. Then create the key points by clicking the Create point button.

Entity5.jpg

Key point is defined by MapCameraCurvePoint type. New point is added after the selected one. For example, if you have two points and want to create a third between them, then select the first point and click the Create point. By changing the position of the points you are creating the path. In the editor you can view from any camera (which are key points) by selecting them and holding C.

Properties

MapCurve Properties

Name Description
AutomaticTimeStep Modifies the Time parameters of key points (look at MapCurvePoint properties). If 0 is specified, then automatic calculation is turned off, and Time must be set manually.
CurveType Type of the curve. You can choose from UniformCubicSpline (cubic splines) and Bezier (Bezier curves).

MapCurvePoint Properties

Name Description
Owner Defines the curve to which this point belongs.
Time Defines the time at which we will be at this point. Changing the Time between points will set their order.

MapCameraCurve and MapCameraCurvePoint Properties

Name Description
Fov Sets the view angle. 0 will use the default value (defined in map properties).