[Thyme][1.5.61]Thyme Command/Variables List
Posted: Tue Sep 01, 2009 10:46 am
This list contains all the variables and commands, based on a combination of mostly my memory, experimentation, and Emil's descriptions, so sorry if some of it is inaccurate, feel free to notify me of any mistakes or remind me of the effects of any variables/commands that I don't remember.
Red - Emil's only thyme spelling mistake (I don't think the variable works because of this),
Yellow - Things that I've forgotten the effects of,
Green - Operators (infixed operations)
--
Grady
This took much longer than I thought it would, and I think it has every single function/variable in 1.5.61 (intrinsic functions only).
Involved in corrections:
Tatt61880 - Reminded me of the actual function of Scene.setFilter .
Hope you guys have fun with these, they took quite a while to get.
Also, I haven't had a chance to check out the newest version yet, so, I haven't verified these all as accurate yet .
EDIT: Modified (should contain indent now)
Red - Emil's only thyme spelling mistake (I don't think the variable works because of this),
Yellow - Things that I've forgotten the effects of,
Green - Operators (infixed operations)
- App.
- Background.
- cloudOpacity - The opacity of the clouds - Default: 0.95 (float)
- cuteClouds - Whether to use normal (false) or cute (true) clouds - Default: true (boolean)
- drawClouds - Whether to show clouds (true) or not (false) - Default: true (boolean)
- skyColor - Colour of the sky - Default: [0.45,0.55,1,1] ([Red(float), Green(float), Blue(float), Alpha(float)])
- cloudOpacity - The opacity of the clouds - Default: 0.95 (float)
- DPI - Dots per inch to render with - Default: 86(float)
- GUI.
- Forces.
- airBuoyancy - Whether to show the visualisation for airBuoyancy (true) or not (false) - Default: true (boolean)
- airBuoyancyText - The text to show accompanying the airBuoyancy visualisation - Default: -adg (string)
- airFriction - Whether to show the visualisation for airFriction (true) or not (false) - Default: ture (boolean)
- airFrictionText - The text to show accompanying the airFriction visualisation - Default: -fv (string)
- attraction - Whether to show the visualisation for attraction (true) or not (false) - Default: true (boolean)
- attractionText - The text to show accompanying the attraction attraction visualisation - Default: A (string)
- contactCombinationDistance - The distance in screen centimetres(cm) distance before normal visualisation arrows join into one - Default: 1.2 (float)
- drawForces - Whether to show all force visualisations (true) or not (false) - Default: false (boolean)
- drawNames - Whether to show all force names (true) or not (false) - Default: true (boolean)
- drawValues - Whether to show all force values (true) or not (false) - Default: false (boolean)
- external - Whether to show the visualisation for external forces (true) or not (false) - Default: true (boolean)
- externalText - The text to show accompanying the external forces visualisation - Default: ext (string)
- forceScale - The scale of the arrow visualisation of foce visualisation - Default: 1 (float)
- friction - Whether to show the visualisation for friction (true) or not (false) - Default: true (boolean)
- frictionProjection - Whether to show friction from both directions (false) or the direction the force pushes(true) - Default: true (boolean)
- frictionText - The text to show accompanying the friction visualisation - Default: T (string)
- gravity - Whether to show the visualisation for gravity (true) or not (false) - Default: true (boolean)
- gravityText - The text to show accompanying the gravity visualisation - Default: mg (string)
- hinge - Whether to show the visualisation for the for the force of hinges (true) or not (false) - Default: true (boolean)
- hingeText - The text to show accompanying the hinge visualisation - Default: H (string)
- normal - Whether to show the visualisation for normal forces (true) or not (false) - Default: true (boolean)
- normalText - The text to show accompanying the normal forces visualisation - Default: N (string)
- spring - Whether to show the visualisation for spring forces (true) or not (false) - Default: true (boolean)
- springText - The text to show accompanying the spring forces visualisation - Default: -kx-bv (string)
- total - Whether to show the visualisation for the total force (true) or not (false) - Default: true
- totalText - The text to show accompanying the total force visualisation - Default: (string)
- velScale - The scale of the velocity visualisation - Default: 1 (float)
- velocities - Whether to show the visualisation for velocities (true) or not (false) - Default: false (boolean)
- airBuoyancy - Whether to show the visualisation for airBuoyancy (true) or not (false) - Default: true (boolean)
- Rebuild - Reload all the GUI.
- alikeTolerance - The maximum number of differences to be selected by the "Select alike" command - Default: 0 (integer)
- allowDrawSelect - Select by encircling on (true) or off (false) - Default: true (boolean)
- dragUndo - Whether drag saves an undo step (true) or not (false) - Default: true (boolean)
- drawDragLine - Whether to show the line from the point of dragging to the mouse (true) or not (false) - Default: true (boolean)
- drawHingesWhenRunning - Whether to show hinges when running (true) or not (false) - Default: true (boolean)
- geomGenMinArea - Not sure what this does - Default: 0.0009 (float)
- geomGenShrink - Not sure what this does either - Default: 0.0033 (float)
- geomGenTolerance - Not sure what this does either - Default: 1.2 (float)
- level - The level of interface 1 (Simple), 2 (Medium) or 3 (Advanced) - Default: 1 (integer)
- toolGestureSensitivity - How sensitive cancel gestures are - Default: 1 (float)
- toolGestures - Whether to cancel a tool by shaking the mouse (true) or not (false) - Default: true (boolean)
- toolSpecificCursors - Whether to show a different cursor for each tool (true) or not (false) - Default: true (boolean)
- trapUser - Whether the user is able to quit, open ingame links and toggle fullscreen (false) or not (true) - Default: false (boolean)
- useHSL - Use the old colour system (Hue Saturation Lightness)(true) as opposed to HSV (Hue Saturation Value)(false) - Default: false (boolean)
- zoomFactor - How fast a user zooms in and out - Default: 0.2 (float)
- Forces.
- Grid.
- base - The base grid size (1m / base) - Default: 4 (integer)
- grid - Whether the grid is on (true) or off (false) - Default: false (boolean)
- numAxes - The number of axes on the grid - Default: 2
- scale - The scale of the grid. A scale of 2 will have half as many grid squares in the same space as a scale of 1 - Default: 2 (float)
- snap - Whether to snap to the grid (true) or not (false) - Default: true (boolean)
- base - The base grid size (1m / base) - Default: 4 (integer)
- HQPolygons - Whether to store polygon distance maps in much larger textures (true) or not (false) - Default: false (boolean)
- Redo - Execute a redo step
- Undo - Execute an undo step
- alwaysCalcContacts - Whether to calculate collisions every frame (true) or not (false) - Default: false (boolean)
- autosaveEnable - Whether to autosave every set amount of time (true) or not (false) - Default: true (boolean)
- autosaveTime - The time (in seconds) between each autosave - Default: 300 (float)
- borderWidth - The size of polygon borders (screen cm) - Default: 0.1 (float)
- chainDensityFactor - The multiplier of the default density for chains (2 is 4.0kg/m^2) - Default: 1 (float)
- checkForUpdates - Whether to check for updates and news each "updateinterval" days (true) or not (false)- Default: true (boolean)
- dragToolStrength - The strength of the drag tool - Default: 0.25 (float)
- drawBCs - Whether to show a circle around a polygon (bounding circles?) (which I think is when it begins being tested for collisions)(true) or not(false) - Default: false (boolean)
- drawBodyCenters - Whether to show the centre of gravity for all geometries (true) or not (false) - Default: false (boolean)
- drawCables - Whether to show cables (true) or not (false) - Default: false (boolean)
- drawCollisions - Whether to show collisions (and strengths) (true) or not (false) - Default: false (boolean)
- drawMapOBBs - Whether to show the oriented bounding boxes map (true) or not (false) - Default: false (boolean)
- drawOBBs - Whether to show the oriented bounding boxes (true) or not (false) - Default: false (boolean)
- drawParticleCenters - Whether to mark the centres of particles with green dots(true) or not(false) - Default: false (boolean)
- drawParticleNeighbors - Whether to connect neighbouring particles with green lines(true) or not(false) - Default: false (boolean)
- drawScaleIndicator - Whether to show the scale (true) or not (false) - Default: true (boolean)
- drawSelectionOBB - Whether to show the oriented bounding box of all objects selected (true) or not (false) - Default: false (boolean)
- drawVelocityFactor - The multiplier for velocity lines (shown when BodyCenters are shown) - Default: 0.02 (float)
- drawVerticies - Draw green dots at every vertex on a polygon - Default: false (boolean)
- enableScriptMenu - Whether the script menu for each object is accessible (true) or not (false) - Default: true (boolean)
- fadeColor - The colour objects fade into the background with - Default: [0,0,0] ([Red(float), Green(float), Blue(float)])
- fadeRotate - The rotational offset objects fade into the background with - Default: 0 (float)
- fadeScale - The scale objects fade into the background with - Default [0.95,0.95] ([X(float),Y(float)])
- fadeTranslate - The distance between each fade step - Default [0,0] ([X(float),Y(float)])
- forceVertexPolygonDrawing - Whether to force drawing of all verticies(true) or not (false) (this also upgrades collisions) - Default: false (boolean)
- gpuWater - Whether to use hardware surface generation (true) or not (false) - Default: true (boolean)
- language - The language of the GUI - Default: English (string)
- laserBroadPhase - Whether to enable increased performance of lasers (true) or not (false) - Default: true (boolean)
- laserEvents - Whether to enable onHitByLaser and onLaserHit (true) or not (false) - Default: true (boolean)
- laserResolution - The quality for finite light speed - Default: 10 (float)
- laserSuperBoost - Allows more ray splits - Default: 1 (float)
- laserWaterBVH - Whether to increase laser performance against water using bounding volume hierarchies (true) or not (false) - Default: false (boolean)
- laserWidth - Laser ray size relative to laser body - Default: 0.2 (float)
- lineWidth - Width of the Polygon tool's line - Default: 3 (float)
- marchingSquaresResolution - Not sure what this one's for - Default: 1 (float)
- maxBorderArea - The maximum area relative to the geometry that can be taken up by the border - Default: 0.2 (float)
- maxBorderAreaSpecial - The maximum area relative to the geometry that can be taken up by the selection border-Default:0.4(float)
- maxCogs - The maximum number of cogs avaliable on each gear - Default: 128 (integer)
- maxPointDist - The maximum distance between one vertex and another when drawing - Default: 0.5 (float)
- maxPolygonBorderFactor - The width of a polygons border - Default: 0.75 (float)
- maxSPHSpawn - The maximum number of particles able to be spawned using one liquify command - Default: 2000 (integer)
- maxUndo - The maximum number of undo/redo steps - Default: 40 (integer)
- metaCutoff - Meta-surface generation cutoff - Default: 0.5 (float)
- metaWater - Whether meta-surface generation is on (true) or off (false) - Default: true (boolean)
- minPointDist - The minimum distance between one vertex and another when drawing - Default: 0.15 (float)
- mousePos - The position of the mouse.
- numColorsInRainbow - The number of colours each ray splits into - Default: 12 (integer)
- pointSize - The size of the the points (like vertex points and body centres) - Default: 3 (float)
- polytoolPreviewColor - The color of the preview area of each polygon - Default: [1,0.5,1,0.4] ([Red(float),Green(float),Blue(float),Alpha(float)])
- scaleGravityField - Whether to scale field arrows with gravity strength(true) or not(false) - Default: false (boolean)
- sceneFadeInTime - How long it takes for a scene to fade in - Default: 1 (float)
- screenshotsWithAlpha - Saves scenes with the alpha channel in tact (transparent screenshots) - Default: false (boolean)
- showGravityField - Whether to show the gravity field for attraction(true) or not(false) - Default: false (boolean)
- updateInterval - The news and update checking interval (days) - Default: 1 (integer)
- waterColor - The color of the water - Default: [0.1,0.1,1,0.7] ([Red(float),Green(float),Blue(float),Alpha(float)])
- waterElongation - The length a water droplet will extend to - Default: 0.05 (float)
- waterRefractiveIndex - The reflective-ness of water - Default: 1.33 (float)
- waterTracerLightness - How bright water tracers are in relation to the colour of the water - Default: 0.75 (float)
- waterTracerSize - The size of the water tracers - Default: 0.015 (float)
- waterTracers - The fraction of a water particle that should have a tracer - Default: 0 (integer)
- Background.
- Console.
- clear - Clear the console.
- color - The colour of the console pane - Default: [0.1,0.1,0.1,0.8] ([Red(float),Green(float),Blue(float),Alpha(float)])
- delay - How long it takes the console to come down - Default: 0.3 (float)
- fade - Whether the console should fade in transparency lengthways (true) or not(false) - Default: false (boolean)
- print - Print to the console window
- screenSize - How much of the screen for the console to take up - Default: 0.35 (float)
- scroll - Whether the window scrolls in (true) or fades in (false) - Default: true (boolean)
- clear - Clear the console.
- Defaults.
- borders - Whether to set borders on by default (true) or not (false) for new objects - Default: true (boolean)
- glueToWorld - Whether to glue new geometries to the background (true) or not (false) - Default: false (boolean)
- borders - Whether to set borders on by default (true) or not (false) for new objects - Default: true (boolean)
- FileInfo.
- author - Who made the scene - Default: (string)
- description - A short description of the scene - Default: (string)
- title - The title of the scene - Default: (string)
- version - The version of the scene - Default: 6 (integer)
- author - Who made the scene - Default: (string)
- GUI.
- bgColor - The color of the background of the Graphical User Interface - Default: [0.2,0.2,0.2,1] ([Red(float),Green(float),Blue(float),Alpha(float)])
- clickTimeTolerance - How long (time) until a click becomes a hold - Default: 0.3 (float)
- clickTolerance - How long (distance) until a click becomes a hold - Default: 5 (float)
- crispFontFactor - How crisp fonts are - Default: 0.5 (float)
- crispFonts - Whether to use crisper fonts(true) or not(false) - Default: false (boolean)
- cursor - Whether to have the cursor on (true) or off (false) - Default: true (boolean)
- cursorFPSLimit - The minimum FPS for non-O/S cursor - Default: 25 (float)
- fgColor - The foreground colour of the Graphical User Interface - Default: [1,1,1,1]([Red(float),Green(float),Blue(float),Alpha(float)])
- font - The default font to be used (language files override this) - Default: arial_black (string)
- fontShadow - Whether to use drop shadow on font (true) or not (false) - Default: true (boolean)
- forceOSCursor - Whether to always use the O/S cursor (true) or not (false) - Default: true (boolean)
- opacity - The opacity of the Graphical User Interface - Default: 0.8 (float)
- penInput - clickTolerance and clickTimeTolerance are changed - Default: false (boolean)
- rightToLeft - Whether to reverse all text (true) or not (false) - Default: false (boolean)
- scale - Scale of GUI - Default: 1.0 (float)
- tooltips - Whether to have tooltips (true) or not (false) - Default: true (boolean)
- bgColor - The color of the background of the Graphical User Interface - Default: [0.2,0.2,0.2,1] ([Red(float),Green(float),Blue(float),Alpha(float)])
- Input.
- touchScreenDetection - Detect if there is a touchscreen (don't know, assumption) - Default: true (boolean)
- touchScreenDetectionGoodCutoff - Attempt to get a better switch (again, not sure) - Default: 30 (integer)
- touchScreenDetectionRelCutoff - Movements larger than this number are marked errors (again, not sure) - Default: 50 (integer)
- touchScreenDetection - Detect if there is a touchscreen (don't know, assumption) - Default: true (boolean)
- Keys.
- bind - Bind a key to an action
- unbind - Unbind a key from all actions
- bind - Bind a key to an action
- Reflection.
- ExecuteCode - Execute specified code from [ROOT] scope
- ExecuteFile - Execute plain text in thyme parsing from specified file in [ROOT] scope
- ExecuteCode - Execute specified code from [ROOT] scope
- Resources.
- force16BitTextures - Force all rendering into 16-bit colours
- loadAll - Load all resources
- polyCount - The number of polygons that have been spawned in the current scene
- polyEntCount - The number of polygons that have been spawned in the current scene
- polyMeshCount - The number of different polygon meshes that have been spawned in the current scene
- reloadAll - Reload all resources
- reloadShaders - Reload just shaders
- reloadTextures - Reload all textures
- shaders - Whether anti-aliasing is on(true) or off(false) - Default: false (boolean)
- snapshotCount - The number of screenshots taken (multi-session)
- textureCount - The number of different textures loaded in the current session
- textures - Whether textures (not currently in use) should be used(true) or not (false) - Default: true (boolean)
- unloadAll - Unload all textures not currently in use
- vramUsage - How many bytes of video RAM is being used on this scene.
- force16BitTextures - Force all rendering into 16-bit colours
- SPH.
- SetClassicSPH - Use the classic compressible model of water
- SetNewSPH - Use the new incompressible model of water
- bucketSize - (forgotten)
- density - The density of water - Default: 1 (float - what a great joke )
- friction - The friction of water - Default: 0.01 (float)
- geomFieldOffset - How far away from geometries the water has to be (anti-hydrophobic ) - Default: 0.5 (float)
- geomFriction - How much friction water has when in contact with geometries - Default: 0.001 (float)
- geomMassMultiplier - This number multiplied with particle mass is the pretended mass of neighbouring geometries - Default: 2 (integer)
- geometryFields - Better incompressability - Default: false (boolean)
- incompressible - Better incompressability - Default: false (boolean)
- influence - How much influence each particle has on its neighbours - Default: 2 (float)
- jitter - How much particles randomly move around - Default: 0 (float)
- kernelMultiplier - How close particles can be to each other - Default: 1 (float)
- kernelNormalize - Not sure - Default: true (boolean)
- lowMassCollisionRadiusFactor - How close a light object able to get to the water - Default: 0.4 (float)
- maxNeighbors - The maximum neighbours for a single particle - Default: 64 (integer)
- minMassFactor - Geometry fields will not be given to objects with lower mass than particle*this - Default: 3 (float)
- nonPenetration - Not sure again - Default: true (boolean)
- pressMultiplier - Pressure Multiplier - Default: 1 (float)
- radius - The radius of a single particle - Default: 0.05 (float)
- restitution - How bouncy water particles are - Default: 0 (float)
- solveConst - How frequently solvings for water happen relating to geometries - Default: 1e+006 (float)
- solveIters - How many iterations of solvings of water happen - Default: 1 (integer)
- solveT - How frequently solvings for water happen - Default: 0.01 (float)
- sort - Not sure - Default: false (boolean)
- soundSpeed - Speed of Sound - Default: 20 (float)
- specialPressure - Not sure again - Default: true (boolean)
- spikyKernel - Not sure, keeps water stable - Default: false (boolean)
- surfaceTension - Applies surface tension - Default: 0 (float)
- unilateral - Whether to only apply separating forces (true) or not (false) - Default: true (boolean)
- vaporizeTime - How long an idle particle will remain in the simulation - Default: +inf (float)
- velocitySmoothing - Not sure, I would assume whether or not velocity is smoothed - Default: true (boolean)
- viscMultiplier - Viscosity multiplier - Default: 1 (float)
- viscosity - How viscous a liquid is - Default: 0.5 (float)
- SetClassicSPH - Use the classic compressible model of water
- Scene.
- Camera.
- pan - How far from origin the camera is - Default: [0,0] ([X(float),Y(float)])
- rotation - How rotated the camera is - Default: 0 (float)
- smoothFactor - How smoothed movement is - Default: 0.9 (float)
- smoothPan - Whether to smooth panning (true) or not (false) - Default: true (boolean)
- smoothRotation - Whether to smooth rotation (true) or not (false) - Default: true (boolean)
- smoothZoom - Whether to smooth zooming (true) or not (false) - Default: true (boolean)
- trackRotation - Whether to track the rotation of followed objects (true) or not (false) - Default: false (boolean)
- zoom - How far zoomed the camera is - Default: 150 (float)
- pan - How far from origin the camera is - Default: [0,0] ([X(float),Y(float)])
- clear - Clear the current scene (keep settings)
- EraseWater - Remove all water from scene
- MoveToOrigo -Move scene to origin
- New - Start a new scene (new settings)
- Open - Open a scene
- SaveAs - Save current scene as
- addBox - Add a box to the current scene
- addCircle - Add a circle to the current scene
- addFixjoint - Add a fixate to the current scene
- addGroup - Group objects in the current scene
- addHinge - Add a hinge to the current scene
- addLaserPen - Add a laser to the current scene
- addPen - Add a tracer to the current scene
- addPlane - Add a plane to the current scene
- addPolygon - Add a polygon to the current scene
- addSpring - Add a polygon to the current scene
- addWater - Add particles to the current scene
- addWidget - Add a widget (element of GUI) to the current scene
- author - Who made the scene - Default: (string)
- description - A short description of the scene - Default: (string)
- gravityRotationOffset - The rotational offset of gravity - Default: NaN (float)
- importPhunlet - Import a phunlet to the current scene
- loadScene - Load a scene
- my - Scene.my.* class
- setFilter - Layer filter (which layers are showing at the current point in time)
- title - The title of the scene - Default: (string)
- Camera.
- Sim.
- adHocSolver - Whether to use a more primitive solver (true) or not (false) - Default: false (boolean)
- airDensity - The density of air (heavier fall below) - Default: 0.01 (float)
- airFrictionLinear - The air friction linear force - Default: 0.01 (float)
- airFrictionMultiplier - The air friction force multiplier - Default: 1 (float)
- airFrictionQuadratic - The air friction quadratic force - Default: 0 (float)
- airSwitch - Whether air is on(true) or not (false) - Default: true (boolean)
- blockedContactSolver - Whether objects with only a few contacts are solved directly (true) or not (false) -Default: false (boolean)
- blockedContactSolver2N - Whether objects with only two contacts' normal forces will be solved directly(true) or not(false)- Default: true (boolean)
- blockedContactSolver2NF - Whether objects with only two contacts' normal and friction forces will be solved directly(true) or not(false) - Default: false (boolean)
- blockedContactSolver3N - Whether objects with only three contacts' normal forces will be solved directly(true) or not(false) - Default: true (boolean)
- blockedContactSolver4N - Whether objects with only four contacts' normal forces will be solved directly(true) or not(false) - Default: false (boolean)
- bodyCount - The number of bodies in the current scene (at the current point in time)
- bruteColliderCutoff - Not sure - Default: 0 (integer)
- cableAdaptiveSlack - Whether to adjust stiffness of hinges based on density (true) or not (false) - Default: false (boolean)
- cableDistanceConstraint - Not sure - Default: true (boolean)
- cableJacobianScale - How much the force is distributed through the entire object - Default: 1 (float)
- cableLineConstraint - Whether to increase the strength of a hinge as it pulls further away from it's attatched object(true) or not (false) - Default: true (boolean)
- cableLineInternalize - Whether to stiffen chains more (false) or not (true) - Default: false (boolean)
- cableLineSmartChoice - Whether to stiffen chains more (true) or not (false) - Default: true (boolean)
- cableMaxImpFactor - Not sure - Default: +inf (float)
- cableMaxMassRation - Not sure - Default: 2 (float)
- cableMaxSlack - The maximum distance of hinge from attatched object (desired) - Default: 0.1 (float)
- cableMiliatryConstraint - Whether to use extremely stiff hinges (true) or not (false) - Default: false (boolean)
- cableSafetyDistance - Not sure - Default: 0 (integer)
- cables - Whether to use cables (true)(stiffer hinges) or not (false) - Default: true (boolean)
- defaultBodyDensity - The default for newly spawned geometries' densities - Default: 2 (float)
- defaultBodyFriction - The default for newly spawned geometries' friction - Default: 0.5 (float)
- defaultBodyRestitution - The default for newly spawned geometries' restitutions (bounciness) - Default: 0.5 (float)
- fastPolyAABB - Whether to do an estimation of the polygon axis aligned bounding box - Default: true (boolean)
- forceContactCalculations - Whether to force all contact calculations to be carried out (true) or not (false) - Default: false (boolean)
- frequency - The frequency at which the simulation simulates (Hz) - Default: 100 (float)
- geomCount - The number of geometries in the current scene
- gravityAngleOffset - The number of radians the scene's gravity is rotated - Default: 0 (float)
- gravityStrength - The strength of gravity (m/s^2) - Default: 9.8 (float)
- gravitySwitch - Whether gravity is on (true) or not (false) - Default: true (boolean)
- largeOverlapTest - Whether to try to treat large overlaps of geometries seperately (true) or not (false) - Default: true (boolean)
- maxPositionCorrection - Not sure - Default: +inf (float)
- maxSpringStrength - Maximum recommended spring force - Default: 10 (float)
- mutipleContactEventPerPair - Whether each contact should get two onCollide actions (true) or not (false) - Default: false (boolean)
- nyquistFactor - Not sure - Default: 4 (float)
- optimizeContactSet - Whether to attempt to reduce contact set to minimum value(true) or not (false) - Default: true (boolean)
- particleCount - How many particles are in the current scene
- polygonMeshSize - How high quality polygons are (when forcing rendering of all verticies, this is irrelevant) - Default: [128,128] ([(integer),(integer)])
- rotFrictionLinear - Required force is Nm*this to rotate at desired speed - Default: 0.00314 (float)
- running - Whether the simulation is running (true) or not (false) - Default: true (boolean)
- skipDistance - The distance before areas are added to the skip list - Default: 0.15 (float)
- solveAccFactor - The number of steps to use for solving acceleration - Default: 1 (float)
- solveConstCables - The solving constant for cables - Default: 1e+008 (float)
- solveConstant - The solving constant (for physics) - Default: 1e+008 (float)
- solveDistFactor - The speed at which overlapping objects will exit each other - Default: 1 (float)
- solveIter - The number of steps to use for solving iterations (stiffer hinges) - Default: 30 (integer)
- solvePenetrationDamping - Whether to solve using Penetration Damping (true) or not (false) - Default: false (boolean)
- solvePreSortConstraints - Not sure - Default: true (boolean)
- solveRandomizeConstraints - Not sure - Default: true (boolean)
- solveRegularizationFactor - How random constraint movement is - Default: 1 (float)
- solveReverseConstraints - Whether to alternate order of constraint solving (true) or not (false) - Default: false (boolean)
- solveStiffIter - How many steps to use for solving stiff hinge iterations - Default: 0 (integer)
- solveTCables - Delta between cable solvings - Default: 0.05 (float)
- solveTconstraints - Delta between constraint solvings - Default: 0.05 (float)
- solveTcontacts - Delta between contact solvings (penetration reaction) - Default: 0.05 (float)
- solveVelFactor - Solver for velocities - Default: 1 (float)
- solver - Which solver to use - Default: gs (string)
- solverSOR - The relaxation of the iteration solver - Default: [1,1,1] ([Beginning(float),Middle(float),End(float)])
- sortBroadPhasePairs - Whether to sort broad-phase pairs first (true) or not (false) - Default: false (boolean)
- springForce - The multiplier of the force of a spring - Default: 1000 (float)
- targetPenetration - The level of penetration to attempt to reach - Default: 0.0001 (float)
- time - The time the current scene has been running
- timeFactor - The multiplier for the time that runs in the scene - Default: 1 (float)
- useSkipLists - Skip testing collisions not close to possible collisions - Default: true (boolean)
- warmStart - Whether to apply forces at start (false) or not (true) - Default: true (boolean)
- warmStartFactor - How much warm start to apply - Default: 0.5 (float)
- adHocSolver - Whether to use a more primitive solver (true) or not (false) - Default: false (boolean)
- System.
- antiAlias - How many antialiases to use - Default: 1 (integer)
- depth - The colour depth - Default: 32 (integer)
- exit - Close phun
- fakeFullscreen - Whether to use fake fullscreen (true) or true fullscreen (false) - Default: true (boolean)
- frame - Whether to use fullscreen in a frame (true) or normal fullscreen (false) - Default: true (boolean)
- fullscreen - Whether phun is in fullscreen (true) or not in fullscreen(false) - Default: false (boolean)
- maxFPS - The target maximum frames per second - Default: 60 (float)
- maximized - Whether the window is maximized (true) or not (false) - Default: false (boolean)
- minFPS - The target minimum frames per second - Default: 10 (float)
- objectCurrent - Information about current object
- objectTotal - Not sure
- recreateWindow - Reload GUI and shaders of the window at the new resolution
- regularScreenshots - Take a screenshot every interval - Default: 0 (integer)
- resizable - Whether the window can be resized (true) or not (false) - Default: true (boolean)
- resolution - The resolution of the window - Default: [800,600] ([X(Integer), Y(Integer)])
- screenshot - Take a screenshot
- time - The time phun has been running for
- vSync - Whether vSync is on (true) or off (false) - Default: false (boolean)
- antiAlias - How many antialiases to use - Default: 1 (integer)
- Tablet. (assumption)
- hasOrientation - Does the tablet detected have an accelorometer (true) or not (false)
- hasPressure - Does the tablet detected have pressure sensitivity (true) or not (false)
- hasTablet - Is there a tablet detected (true) or not (false)
- improveClickTolerance - Whether to improve tolerance of distance and time of the mouse(true) or not(false)-Default:true(boolean)
- orientation - What orientation the tablet is at
- overrideMouseEvents - Whether to override mouse events (true) or not (false) - Default: true (boolean)
- pressure - What pressure level the current push is at.
- rightClickOverride - Not sure
- hasOrientation - Does the tablet detected have an accelorometer (true) or not (false)
- Threading.
- numThreads - The number of threads to run everything on - Default: 1 (integer)
- WebCam.
- flipHoriz - Whether to flip web camera horizontally (true) or not (false) - Default: false (boolean)
- flipVert - Whether to flip web camera vertically (true) or not (false) - Default: false (boolean)
- flipHoriz - Whether to flip web camera horizontally (true) or not (false) - Default: false (boolean)
- cos - Same as Math.cos
- eval - Evaluate function in current scope
- exit - Same as System.exit
- if_then_else - If structure (True/False statement ? True action : False action)
- math.
- HSL2RGB - Convert Hue-Saturation-Lightness to Red-Green-Blue
- HSV2RGB - Convert Hue-Saturation-Value to Red-Green-Blue
- RGB2HSL - Convert Red-Green-Blue to Hue-Saturation-Lightness
- RGB2HSV - Convert Red-Green-Blue to Hue-Saturation-Value
- acos - Inverse cosine
- add - Add value1 to value2 (+)
- addlist - Add list1 to list2 (++)
- and - Logical and (&&)
- asin - Inverse sine
- atan - Inverse tangent
- boolnegate - Invert logical statement (!)
- comp.
- eq - Equal to (==)
- g - Greater than (>)
- ge - Greater than or equal to (>=)
- l - Less than (<)
- le - Less than or equal to (<=)
- ne - Not equal to (!=)
- eq - Equal to (==)
- cos - Cosine
- divide - Divide value1 by value2 (/)
- mod - Modulus (%)
- multiply - Multiply value1 by value2 (*)
- negate - Multiply by -1 (* (-1))
- or - Logical or (||)
- pi - Pi (3.1415926535897932384626433832795...)
- posivate - Multiply by 1 (* 1)
- pow - Power of (^)
- sin - Sine
- subtract - Subtract value2 from value1 (-)
- tan - Tangent
- toBool - Translate value to a true or false value (!= 0)
- toFloat - Translate value to a float value
- toInt - Translate value to an integer value
- toString - Translate value to a string value ( + "")
- HSL2RGB - Convert Hue-Saturation-Lightness to Red-Green-Blue
- print - Same as Console.print
- quit - Same as exit & System.exit
- sin - Same as Math.sin
--
Grady
This took much longer than I thought it would, and I think it has every single function/variable in 1.5.61 (intrinsic functions only).
Involved in corrections:
Tatt61880 - Reminded me of the actual function of Scene.setFilter .
Hope you guys have fun with these, they took quite a while to get.
Also, I haven't had a chance to check out the newest version yet, so, I haven't verified these all as accurate yet .
EDIT: Modified (should contain indent now)