Documentation/Entity Types/Base/MapCamera.type

From NeoAxis 3D Engine Wiki

Jump to: navigation, search
Go to higher level


MapCamera.type allows you to place a camera on the map. Furthermore, developers typically use the camera orientation data in the code.

You can view from camera's perspective by selecting it and holding C key in the editor.

You can also create a camera that follows a motion path. For more info see MapCameraCurve.type.

MapCamera 01.jpg


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.
class MapCamera
Fov View angle. If the parameter 0 is set, the value of Fov of the map is used.
class MapObject
Position Object position on the map.
Rotation Object rotation. The angle of rotation is set in degrees.
Scale Object scaling.
Map Editor
AutoVerticalAlignment Automatical alignment by height mode. Allows to set the value among 4 variants: None (without alignment ), ByBounds (by dimensions), ByBoundsWithRotation (by dimension with possible rotation), ByCenter (by center).
Layer The layer of the map these objects belong to.