User contributions
- 19:47, 13 March 2013 (diff | hist) N GetCameraFar (Created page with "Get far clipping plane of the camera.")
- 19:47, 13 March 2013 (diff | hist) N GetCameraNear (Created page with "Get near clipping plane of the camera.")
- 19:46, 13 March 2013 (diff | hist) EnableCameraOrtho
- 19:46, 13 March 2013 (diff | hist) N IsCameraOrtho (Created page with "Check if camera is orthographic. Camera = getCurrentCamera() if isCameraOrtho(Camera) then -- Camera is orthographic else -- Camera is perspective end To enabl...")
- 19:44, 13 March 2013 (diff | hist) N EnableCameraOrtho (Created page with "Enable or disable orthographic view. Camera = getCurrentCamera() -- Use orthographic view enableCameraOrtho(Camera, true) -- Use perspective view enableCameraOrtho(Camer...")
- 19:38, 13 March 2013 (diff | hist) N SetCameraNear (Created page with "Set near clipping plane for the camera. Parts of the objects that are closer than near clipping plane will not be rendered. Camera = getCurrentCamera() setCameraNear(Camera...")
- 19:38, 13 March 2013 (diff | hist) N SetCameraFar (Created page with "Set far clipping plane for the camera. Parts of the objects that are farther than far clipping plane will not be rendered. Camera = getCurrentCamera() setCameraFar(Camera, ...")
- 19:30, 13 March 2013 (diff | hist) N GetCameraClearColor (Created page with "Returns the current background color for the camera as RGB table. Camera = getCurrentCamera() background = getCameraClearColor(Camera) red = background[1] green = backgro...")
- 19:28, 13 March 2013 (diff | hist) N SetCameraClearColor (Created page with "Set the background color. Camera = getCurrentCamera() -- Set background color to black setCameraClearColor(Camera, {0, 0, 0})")
- 19:25, 13 March 2013 (diff | hist) m GetCurrentCamera
- 19:24, 13 March 2013 (diff | hist) GetCurrentCamera
- 19:24, 13 March 2013 (diff | hist) N GetCurrentCamera (Created page with "Returns current camera objects. More about objects getObject")
- 19:18, 13 March 2013 (diff | hist) CenterCursor
- 19:18, 13 March 2013 (diff | hist) N CenterCursor (Created page with "Center the cursor in the middle of the window. Useful for FPS camera controls. You can download demo FPS game http://www.maratis3d.org/download/SponzaFPS.zip, here")
- 19:15, 13 March 2013 (diff | hist) N ShowCursor (Created page with "Show the mouse cursor.")
- 19:14, 13 March 2013 (diff | hist) N HideCursor (Created page with "Hide the mouse cursor.")
- 19:09, 13 March 2013 (diff | hist) N GetWindowScale (Created page with "Get window's width and height as a table. scale = getWindowScale() width = scale[1] height = scale[2]")
- 21:34, 12 March 2013 (diff | hist) N SetLightShadowBlur (Created page with "Set the amount of blur on the shadows casted by this light. Light = getObject("Light") setLightShadowBlur(Light, 1.0)")
- 21:33, 12 March 2013 (diff | hist) N SetLightShadowBias (Created page with "Set bias of the lights shadow. Accepts two arguments: Light object and a number. Light = getObject("Light") setLightShadowBias(Light, 1.0)")
- 21:32, 12 March 2013 (diff | hist) N SetLightShadowQuality (Created page with "Set light shadow quality. Accepts two arguments: Light object and a number. Light = getLight("SunLight") setLightShadowQuality(Light, 1024)")
- 21:29, 12 March 2013 (diff | hist) m GetLightShadowQuality
- 21:17, 12 March 2013 (diff | hist) N SetLightColor (Created page with "Set light color. Accepts two arguments: Light object and an RGB table. Example: Light = getLight("DayNightLight") -- Set to red setLightColor(Light, {255, 0, 0}) -- Set t...")
- 21:13, 12 March 2013 (diff | hist) N GetLightShadowBlur (Created page with "Returns light's shadow blur as a number. Light = getLight("Light0") blur = getLightShadowBlur(Light)")
- 21:12, 12 March 2013 (diff | hist) N GetLightShadowBias (Created page with "Returns light's shadow bias as a number. Light = getObject("Light0") bias = getLightShadowBias(Light)")
- 21:06, 12 March 2013 (diff | hist) N GetLightShadowQuality (Created page with "Returns a number representing quality of the shadow casted by this light. To enable or disable shadow casting use enableShadow. light = getObject("LampLight") shadowQua...")
- 21:01, 12 March 2013 (diff | hist) N GetLightRadius (Created page with "Get light radius. Light0 = getObject("Light0") -- Scene update function onSceneUpdate() radius = getLightRadius(Light0) end")
- 20:52, 12 March 2013 (diff | hist) N GetScenesNumber (Created page with "Returns an integer indicating the total number of scenes in the level. sceneCount = getScenesNumber()")
- 20:36, 12 March 2013 (diff | hist) N OnKeyUp (Created page with "Returns "true" once the key is released. spaceUp = onKeyUp("SPACE") You can find key constants [http://wiki.maratis3d.org/index.php?title=Keys here]")
- 20:32, 12 March 2013 (diff | hist) N OnKeyDown (Created page with "Check if key has been pressed. While isKeyPressed will return "true" continuously until a key is released, this function will return "true", when the button is pressed dow...")
- 20:31, 12 March 2013 (diff | hist) m IsKeyPressed
- 20:02, 12 March 2013 (diff | hist) m IsCastingShadow
- 20:00, 12 March 2013 (diff | hist) N IsCastingShadow (Created page with "Check if light has shadow casting enabled. isCastingShadow(lightObject) To enable or disable shadow casting use enableShadow")
- 19:56, 12 March 2013 (diff | hist) N EnableShadow (Created page with "Enable or disable shadow casting on the light object. All objects affected by light with enabled shadow casting will cast shadows on itself and on other objects. Example: li...")