gh_camera LibraryDescriptiongh_camera is the module that manages cameras: creation, destruction, setting the parameters (position, filed of view, etc.). Number of functions: 23
gh_camera.bindDescriptionBind the camera to the renderer: the viewport and projection/view matrices are applied. This function is useful in conjunction with the gh_object.render() function. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.bind_v2DescriptionBind the camera to the renderer: the viewport and projection/view matrices are applied. This function is useful in conjunction with the gh_object.render() function. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.create_orthoDescriptionCreates an orthographic camera. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.create_orthographicDescriptionCreates an orthographic camera with default values: left, right, top, bottom are derived from the window size. LanguagesLua - Python ParametersThis function has no input parameter(s). Return ValuesCode sample
gh_camera.create_perspDescriptionCreates a perspective camera. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.create_persp_v2DescriptionCreates a perspective camera. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.create_perspectiveDescriptionCreates a perspective camera with default values (fov=60, znear=1, zfar=1000, aspect=win_width/win/height). LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.get_fovDescriptionGets the camera field of view (fov). LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.get_positionDescriptionGets the camera position. LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.get_viewDescriptionGets the camera direction (z axis or view vector). LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.get_up_vectorDescriptionGets the camera up vector (y axis). LanguagesLua - Python ParametersReturn ValuesCode sample
gh_camera.set_fovDescriptionSets the camera field of view (fov). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_lookatDescriptionSets the camera look at point (what point in space the camera is looking). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_orientation_cubemapDescriptionSets the camera orientation according to a cubemap face. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_pitchDescriptionSets the camera pitch angle (x axis). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_positionDescriptionSets the camera position. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_rollDescriptionSets the camera roll angle (z axis). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_upvecDescriptionSets the camera up vector. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_viewportDescriptionSets the camera viewport. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.set_yawDescriptionSets the camera yaw angle (y axis). LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.update_orthoDescriptionUpdates an orthographic camera. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.update_perspDescriptionUpdates a perspective camera. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
gh_camera.update_persp_v2DescriptionUpdates a perspective camera. LanguagesLua - Python ParametersReturn ValuesThis function has no return value(s). Code sample
2013-2015 Geeks3D. All Rights Reserved. .:- G3D Network -:. |