/// <summary> /// Set the position of the platform window associated with the canvas. /// @param position The new position of the window in screen-space. ) /// /// </summary> public void setWindowPosition(string guicanvas, Point2I position){ m_ts.fnGuiCanvas_setWindowPosition(guicanvas, position.AsString()); }
/// <summary> /// Translate a coordinate from canvas window-space to screen-space. /// @param coordinate The coordinate in window-space. /// @return The given coordinate translated to screen-space. ) /// /// </summary> public Point2I clientToScreen(string guicanvas, Point2I coordinate){ return new Point2I ( m_ts.fnGuiCanvas_clientToScreen(guicanvas, coordinate.AsString())); }
/// <summary> /// Translate a coordinate from screen-space to canvas window-space. /// @param coordinate The coordinate in screen-space. /// @return The given coordinate translated to window-space. ) /// /// </summary> public Point2I screenToClient(string guicanvas, Point2I coordinate){ return new Point2I ( m_ts.fnGuiCanvas_screenToClient(guicanvas, coordinate.AsString())); }
/// <summary> /// THEORA, 30.0f, Point2I( 0, 0 ) ), /// Begins a video capture session. /// @see stopVideoCapture /// @ingroup Rendering ) /// /// </summary> public void startVideoCapture(string canvas, string filename, string encoder, float framerate, Point2I resolution){ m_ts.fn_startVideoCapture(canvas, filename, encoder, framerate, resolution.AsString()); }
/// <summary> /// THEORA, 30.0f, Point2I( 0, 0 ) ), /// Load a journal file and capture it video. /// @ingroup Rendering ) /// /// </summary> public void playJournalToVideo(string journalFile, string videoFile, string encoder, float framerate, Point2I resolution){ m_ts.fn_playJournalToVideo(journalFile, videoFile, encoder, framerate, resolution.AsString()); }
/// <summary> /// Set the position of the platform window associated with the canvas. /// @param position The new position of the window in screen-space. ) /// /// </summary> public void setWindowPosition(Point2I position) { TorqueScriptTemplate.m_ts.fnGuiCanvas_setWindowPosition(_mSimObjectId, position.AsString()); }
/// <summary> /// Translate a coordinate from screen-space to canvas window-space. /// @param coordinate The coordinate in screen-space. /// @return The given coordinate translated to window-space. ) /// /// </summary> public Point2I screenToClient(Point2I coordinate) { return new Point2I(TorqueScriptTemplate.m_ts.fnGuiCanvas_screenToClient(_mSimObjectId, coordinate.AsString())); }
/// <summary> /// Return the integer character code value corresponding to the first character in the given string. /// ) /// /// </summary> public Point2I dnt_testcase_8(Point2I chr) { return new Point2I(m_ts.fn_dnt_testcase_8(chr.AsString())); }