var searchIndex = {}; searchIndex["camera_controllers"] = {"doc":"A library for 3D camera control","items":[[3,"Camera","camera_controllers","Models a camera with position and directions.",null,null],[12,"position","","The camera position.",0,null],[12,"up","","The up direction.",0,null],[12,"right","","The right direction.",0,null],[12,"forward","","The forward direction.",0,null],[3,"CameraPerspective","","Models camera perspective settings.",null,null],[12,"fov","","Field of view (in degrees).",1,null],[12,"near_clip","","The near clip distance.",1,null],[12,"far_clip","","The far clip distance.",1,null],[12,"aspect_ratio","","The aspect ratio, usually set to 1.0.",1,null],[5,"model_view_projection","","Computes a model view projection matrix.",null,null],[3,"FirstPerson","","Models a flying first person camera.",null,null],[12,"settings","","The first person camera settings.",2,null],[12,"yaw","","The yaw angle (in radians).",2,null],[12,"pitch","","The pitch angle (in radians).",2,null],[12,"direction","","The direction we are heading.",2,null],[12,"position","","The position of the camera.",2,null],[12,"velocity","","The velocity we are moving in the direction.",2,null],[3,"FirstPersonSettings","","First person camera settings.",null,null],[12,"move_forward_button","","Which button to press to move forward.",3,null],[12,"move_backward_button","","Which button to press to move backward.",3,null],[12,"strafe_left_button","","Which button to press to strafe left.",3,null],[12,"strafe_right_button","","Which button to press to strafe right.",3,null],[12,"fly_up_button","","Which button to press to fly up.",3,null],[12,"fly_down_button","","Which button to press to fly down.",3,null],[12,"move_faster_button","","Which button to press to move faster.",3,null],[12,"speed_horizontal","","The horizontal movement speed.",3,null],[12,"speed_vertical","","The vertical movement speed.",3,null],[3,"OrbitZoomCamera","","A 3dsMax / Blender-style camera that orbits around a target point",null,null],[12,"target","","origin of camera rotation",4,null],[12,"rotation","","Rotation of camera",4,null],[12,"pitch","","Pitch up/down from target",4,null],[12,"yaw","","Yaw left/right from target",4,null],[12,"distance","","camera distance from target",4,null],[12,"settings","","Settings for the camera",4,null],[3,"OrbitZoomCameraSettings","","Specifies key bindings and speed modifiers for OrbitZoomCamera",null,null],[12,"orbit_button","","Which button to press to orbit with mouse",5,null],[12,"zoom_button","","Which button to press to zoom with mouse",5,null],[12,"pan_button","","Which button to press to pan with mouse",5,null],[12,"orbit_speed","","Modifier for orbiting speed (arbitrary unit)",5,null],[12,"pitch_speed","","Modifier for pitch speed relative to orbiting speed (arbitrary unit).\nTo reverse pitch direction, set this to -1.",5,null],[12,"pan_speed","","Modifier for panning speed (arbitrary unit)",5,null],[12,"zoom_speed","","Modifier for zoom speed (arbitrary unit)",5,null],[11,"keyboard_wasd","","Creates new first person camera settings with wasd defaults.",3,{"inputs":[],"output":{"name":"firstpersonsettings"}}],[11,"keyboard_esdf","","Creates a new first person camera settings with esdf defaults.",3,{"inputs":[],"output":{"name":"firstpersonsettings"}}],[11,"new","","Creates a new first person camera.",2,null],[11,"camera","","Computes camera.",2,null],[11,"event","","Handles game event and updates camera.",2,null],[11,"default","","Clicking and dragging OR two-finger scrolling will orbit camera,\nwith LShift as pan modifer and LCtrl as zoom modifier",5,{"inputs":[],"output":{"name":"orbitzoomcamerasettings"}}],[11,"orbit_button","","Set the button for orbiting",5,null],[11,"zoom_button","","Set the button for zooming",5,null],[11,"pan_button","","Set the button for panning",5,null],[11,"orbit_speed","","Set the orbit speed modifier",5,null],[11,"pitch_speed","","Set the pitch speed modifier",5,null],[11,"pan_speed","","Set the pan speed modifier",5,null],[11,"zoom_speed","","Set the zoom speed modifier",5,null],[11,"new","","Create a new OrbitZoomCamera targeting the given coordinates",4,null],[11,"camera","","Return a Camera for the current OrbitZoomCamera configuration",4,null],[11,"event","","Respond to scroll and key press/release events",4,null],[11,"new","","Constructs a new camera.",0,null],[11,"orthogonal","","Computes an orthogonal matrix for the camera.",0,null],[11,"look_at","","Orients the camera to look at a point.",0,null],[11,"set_yaw_pitch","","Sets yaw and pitch angle of camera in radians.",0,null],[11,"set_rotation","","Sets forward, up, and right vectors from a Quaternion rotation\nrelative to the positive z-axis",0,null],[11,"projection","","Computes a projection matrix for the camera perspective.",1,null]],"paths":[[3,"Camera"],[3,"CameraPerspective"],[3,"FirstPerson"],[3,"FirstPersonSettings"],[3,"OrbitZoomCamera"],[3,"OrbitZoomCameraSettings"]]}; initSearch(searchIndex);