kerosin.rb

来自「rcssserver3d Robocup 3D比赛官方指定平台」· RB 代码 · 共 53 行

RB
53
字号
## this is the init script of the Kerosin library## This script creates a BUNCH of variables. It basically sets up the# default settings for all engine namespaces/variables. It also serves# as the documentation for all the settings.##### Application## This section contains information about the application being executed.#createVariable('Application.Title', 'SimSpark');##### System## This section contains information about the environment the engine is# executed in, such as font paths.#createVariable('System.FontPath', 'fonts/');##### Viewport## The Viewport namespace is used to describe all the variables related# to the application window.#createVariable('Viewport.XRes', 800);           # widthcreateVariable('Viewport.YRes', 600);	        # heightcreateVariable('Viewport.FullScreen',   false);	# run in fullscreen?createVariable('Viewport.DoubleBuffer', true);  # use double buffering?# Set up bits per pixelcreateVariable('Viewport.RedBits',   5); # red bitscreateVariable('Viewport.GreenBits', 6); # green bitscreateVariable('Viewport.BlueBits',  5); # blue bitscreateVariable('Viewport.AlphaBits', 8); # alpha bits# stencil and depth bufferscreateVariable('Viewport.DepthBits', 16);  # depth bitscreateVariable('Viewport.StencilBits', 0); # stencil bits# dpi for font renderingcreateVariable('Viewport.DpiHRes', 120); # horizontal resolution (72, 96, 120, 300)createVariable('Viewport.DpiVRes', 120); # vertical resolution (72, 96, 120, 300)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?