NewPageImport
Jump to navigation
Jump to search
The CameraCockpit logic component handles the functionality of the cockpit camera.
Type: Logic Object Component
File: CameraCockpit.slc
Version: 450.1000.342.1
back to top
Contents
Properties
Name | Description | MaxValue | MinValue | DisplayName | UnitType | UnitName |
---|---|---|---|---|---|---|
PROP_BINOCULAR_FADE_OF_VIEW | Fade of view for binocular mode | 100 | 0 | Default | Default | |
PROP_BINOCULAR_KEYBOARD_BUTTON | Holds the keyboard button that with the mouse button toggles the binocular on and off. | 50 | 0 | Default | Default | |
PROP_BINOCULAR_MOUSE_BUTTON | Holds the mouse button that with the keyboard button toggles the binocular on and off. | 2 | 0 | Default | Default | |
PROP_CAMERA_JOYSTICK_DEADZONE | The dead zone area of the joystick | 100 | 1 | Default | Default | |
PROP_CAMERA_JOYSTICK_SPEED | The max speed factor of the joystick compared to the keyboard | 50 | -50 | Default | Default | |
PROP_CAMERA_LINK_PITCH_OFFSET | The pitch offset in linked mode relative to the fov | 10 | -10 | Default | Default | |
PROP_CAMERA_LINK_RELATIVE_TO_ANGLE | Tells whether the offset angles are calculated relative to the main view or relative to the ground | 0 | 0 | Default | Default | |
PROP_CAMERA_LINK_TO_NAME | The name of the entity to link with | 0 | 0 | Default | Default | |
PROP_CAMERA_LINK_YAW_OFFSET | The yaw offset in linked mode relative to the fov | 10 | -10 | Default | Default | |
PROP_CAMERA_SPEED | Camera speed | 100 | 0 | Default | Default | |
PROP_CAMERA_SPEED_IN_BINOCULAR_MODE | Camera speed in binocular mode (default speed is 20) | 100 | 0 | Default | Default | |
PROP_IS_BINOCULAR_MODE_ENABLED | Is to enable binocular mode at the cockpit | 0 | 0 | Default | Default | |
PROP_RECORD_CAMERA_MOVEMENT_INTERVAL | Record camera movement interval | 100 | -1 | Time | Seconds |
Attributes
Name | Description | Param1 | Param2 | DisplayName | UnitType | UnitName |
---|---|---|---|---|---|---|
ATT_BINOCULAR_IS_ON | Indicate if the binocular is on or off | bool & | Default | Default | ||
ATT_CAMERA_IS_VALID_LOCATION | Is camera valid location | bool & | Default | Default | ||
ATT_CAMERA_LINK_IS_MASTER | In linked mode indicates if the current camera is a master camera | bool & | Default | Default | ||
ATT_CAMERA_LINK_TO_NAME | In linked mode the name of the link name the camera is on | string & | Default | Default | ||
ATT_DEBUG_TRACKER_CAMERA_OBJECT | Debug string for camera object vs. vakuew received from event | string & | Default | Default | ||
ATT_DEBUG_TRACKER_POS | Tracker position recieved | string & | Default | Default | ||
ATT_DEBUG_TRACKER_PRESET_VIEW | Debug string : camera preset view vs. param received from event | string & | Default | Default | ||
ATT_INSTRUMENT_VIEW_GAUGE_ACTUAL_NAME | Instrument views gauge actual name | const int | string & | Default | Default | |
ATT_INSTRUMENT_VIEW_GAUGE_MENU_NAME | Instrument views gauge menu names | const int | string & | Default | Default | |
ATT_LINKED_MASTER_CAMERA_ID | Holds the master id (in case of multi screen) | int & | Entity Identifier | Entity ID | ||
ATT_LOCATION | Entity 6-DOF(Vx,Vy,Vz,pitch,roll,yaw) | Location & | Length | Meter | ||
ATT_ORIENTATION | Entity orientation (pitch,roll,yaw) | AngularVec & | Default | Default | ||
ATT_POSITION | Entity position (x,y,z) | LinearVec & | Length | Meter | ||
ATT_SCENE_CAMERA_ENABLE_CHANGE | Enable/Disable user all camera changes(user input + menus). | bool & | Default | Default | ||
ATT_SCENE_CAMERA_ENABLE_INPUTS | Enable/Disable user inputs. | bool & | Default | Default | ||
ATT_SCENE_CAMERA_ENTITY_1 | Camera entity #1 | int & | Entity Identifier | Entity ID | ||
ATT_SCENE_CAMERA_ENTITY_2 | Camera entity #2 | int & | Entity Identifier | Entity ID | ||
ATT_SCENE_CAMERA_FIELD_OF_VIEW | Camera field of view [deg] | float & | Angle | Degree | ||
ATT_SCENE_CAMERA_PRESET_LOC | Cockpit camera preset location | Location & | Length | Meter | ||
ATT_SCENE_CAMERA_REFERENCE_NAME | Current camera reference name | string & | Default | Default | ||
ATT_SCENE_COCKPIT_CAMERA_NUMBER_OF_INSTRUMENT_VIEWS | The number of the instrument views | int & | Default | Default | ||
ATT_SCENE_COCKPIT_CAMERA_RADIUS | Cockpit Camera radius (zoom level) [Meters] | float & | Length | Meter | ||
ATT_SCENE_COCKPIT_CAMERA_RELATIVE_LOC | Cockpit camera relative location | Location & | Length | Meter | ||
ATT_SCENE_COCKPIT_CAMERA_RELATIVE_YAW | Cockpit camera relative yaw. | float & | Angle | Degree |
Actions
Name | Description | Param1 | Param2 | DisplayName | UnitType | UnitName |
---|---|---|---|---|---|---|
ACTION_ENABLE_BOUNDING_BOX | Enable disable bounding box | const bool | Default | Default | ||
ACTION_SCENE_CAMERA_CHANGE_FIELD_OF_VIEW | Change field of view | const float | Angle | Degree | ||
ACTION_SCENE_CAMERA_DISABLE_UPDATE | Disable the normal update | const bool | Default | Default | ||
ACTION_SCENE_CAMERA_EXIT_BINOCULAR_MODE | Exit binoculare mode | Default | Default | |||
ACTION_SET_BINOCULAR_MODE | Set binocular mode | const Location & | Default | Default | ||
ACTION_SET_CAMERA_MAX_PITCH | Set camera maximum pitch [deg] | const float | Angle | Degree | ||
ACTION_SET_CAMERA_MAX_YAW | Set camera maximum yaw [deg] | const float | Angle | Degree | ||
ACTION_SET_CAMERA_MAX_ZOOM_Y | Set the camera maximum Y value when changing zoom [meters] | const float | Length | Meter | ||
ACTION_SET_CAMERA_MIN_PITCH | Set camera minimum pitch [deg] | const float | Angle | Degree | ||
ACTION_SET_CAMERA_MIN_YAW | Set camera minimum yaw [deg] | const float | Angle | Degree | ||
ACTION_SET_CAMERA_MIN_ZOOM_Y | Set the camera minimum Y value when changing zoom [meters] | const float | Length | Meter | ||
ACTION_SET_CAMERA_REFERENCE_NAME | Set camera reference name | const string & | Default | Default | ||
ACTION_STOP_CAMERA_MOVEMENT | Stop camera movement | Default | Default | |||
ACTION_UPDATE_LAST_CAMERA_RELATIVE_POS | Set the last camera relvative position | Default | Default | |||
CAM_DOWN | Cam down | const int | const int | Default | Default | |
CAM_DOWN_LEFT | Cam down left | const int | const int | Default | Default | |
CAM_DOWN_LEFT_STOP | Cam down left stop | const int | const int | Default | Default | |
CAM_DOWN_RIGHT | Cam down right | const int | const int | Default | Default | |
CAM_DOWN_RIGHT_STOP | Cam down right stop | const int | const int | Default | Default | |
CAM_DOWN_STOP | Cam down stop | const int | const int | Default | Default | |
CAM_LEFT | Cam left | const int | const int | Default | Default | |
CAM_LEFT_STOP | Cam left stop | const int | const int | Default | Default | |
CAM_RIGHT | Cam right | const int | const int | Default | Default | |
CAM_RIGHT_STOP | Cam right stop | const int | const int | Default | Default | |
CAM_SPEED_SET | Set camera speed | const int | const int | Default | Default | |
CAM_UP | Cam up | const int | const int | Default | Default | |
CAM_UP_LEFT | Cam up left | const int | const int | Default | Default | |
CAM_UP_LEFT_STOP | Cam up left stop | const int | const int | Default | Default | |
CAM_UP_RIGHT | Cam up right | const int | const int | Default | Default | |
CAM_UP_RIGHT_STOP | Cam up right stop | const int | const int | Default | Default | |
CAM_UP_STOP | Cam up stop | const int | const int | Default | Default | |
DECREASE_FIELD_OF_VIEW | Decrease field of view | const int | const int | Default | Default | |
INCREASE_FIELD_OF_VIEW | Increase field of view | const int | const int | Default | Default | |
INPUT_CAMERA_MOVE_BY_POV_JOYSTICK_BUTTON_1|INPUT_CAMERA_MOVE_BY_POV_JOYSTICK_BUTTON_2 | Camera move by POV joystick button | const int | const int | Default | Default | |
INPUT_CAMERA_PITCH_FWD|INPUT_CAMERA_PITCH_BACK | Fwd stick | const int | const int | Default | Default | |
INPUT_CAMERA_YAW_LEFT|INPUT_CAMERA_YAW_RIGHT | Left stick | const int | const int | Default | Default | |
ZOOM_IN | Zoom in | const int | const int | Default | Default | |
ZOOM_IN_STOP | Zoom in stop | const int | const int | Default | Default | |
ZOOM_OUT | Zoom out | const int | const int | Default | Default | |
ZOOM_OUT_STOP | Zoom out stop | const int | const int | Default | Default |
Required Attributes
Name |
---|
ATT_CHASE_VIEW_NAME |
ATT_CONTROL_3D_OBJECT_HANDLE |
ATT_ENABLE_BINOCULAR_MODE |
ATT_GENERAL_MINIMAL_AC_SIZE_IS_ACTIVE |
ATT_IS_CAMERA_MOVEMENT_SYNC |
ATT_IS_COCKPIT_CAMERA_FORCED_MOVING |
ATT_IS_IN_PLAYBACK_MODE |
ATT_IS_MISSION_RECORD_ACTIVE |
ATT_IS_SCENE_ENTITY |
ATT_LAST_RELVATIVE_CAMERA_POS |
ATT_LAST_VIEW_ID |
ATT_MAP_2D_VIEW_NAME |
ATT_SCENE_3D_CAMERA_ID |
ATT_SCENE_WINDOW_HANDLE |
ATT_TYPE_NAME |
Required Actions
Name |
---|
ACTION_CHASE_SET_CAMERA_RADIUS |
ACTION_CHASE_SET_OBJECT_LOCATION |
ACTION_CHASE_SET_PREVIOUS_ENTITY_ID |
Required Global Attributes
Name |
---|
GLOBAL_ATT_BINOCULAR_IS_ON |
GLOBAL_ATT_CHASE_VIEW_NAME |
GLOBAL_ATT_ENABLE_BINOCULAR_MODE |
GLOBAL_ATT_GENERAL_MINIMAL_AC_SIZE_IS_ACTIVE |
GLOBAL_ATT_IS_CAMERA_MOVEMENT_SYNC |
GLOBAL_ATT_IS_COCKPIT_CAMERA_FORCED_MOVING |
GLOBAL_ATT_IS_IN_PLAYBACK_MODE |
GLOBAL_ATT_IS_MISSION_RECORD_ACTIVE |
GLOBAL_ATT_LAST_VIEW_ID |
GLOBAL_ATT_MAP_2D_VIEW_NAME |
Required Events
Name |
---|
SyncCameraLocation |