Removed old properties and added new ones

This commit is contained in:
Richard Davey 2019-12-04 03:13:44 +00:00
parent 22baba0749
commit aeb3d5af06
2 changed files with 11 additions and 20 deletions

View file

@ -8,22 +8,25 @@
* @property {boolean} [showJoint=true] - Render all world constraints to the Graphics object?
* @property {boolean} [showInternalEdges=false] - When rendering bodies, render the internal edges as well?
* @property {boolean} [showConvexHulls=false] - When rendering polygon bodies, render the convex hull as well?
* @property {boolean} [renderFill=true] - Render the bodies using a fill color.
* @property {boolean} [renderStroke=true] - Render the bodies using a line stroke.
* @property {number} [lineThickness=1] - If rendering with a stroke, the thickness of the line.
* @property {boolean} [renderFill=false] - Render the bodies using a fill color.
* @property {boolean} [renderLine=true] - Render the bodies using a line stroke.
* @property {number} [fillColor=0x106909] - The color value of the fill when rendering dynamic bodies.
* @property {number} [strokeColor=0x28de19] - The color value of the line stroke when rendering dynamic bodies.
* @property {number} [fillOpacity=1] - The opacity of the fill when rendering dynamic bodies, a value between 0 and 1.
* @property {number} [lineColor=0x28de19] - The color value of the line stroke when rendering dynamic bodies.
* @property {number} [lineOpacity=1] - The opacity of the line when rendering dynamic bodies, a value between 0 and 1.
* @property {number} [lineThickness=1] - If rendering lines, the thickness of the line.
* @property {number} [staticFillColor=0x0d177b] - The color value of the fill when rendering static bodies.
* @property {number} [staticStrokeColor=0x1327e4] - The color value of the line stroke when rendering static bodies.
* @property {number} [staticLineColor=0x1327e4] - The color value of the line stroke when rendering static bodies.
* @property {number} [staticBodySleepOpacity=0.7] - The amount to multiply the opacity of sleeping static bodies by.
* @property {number} [sleepFillColor=0x464646] - The color value of the fill when rendering sleeping dynamic bodies.
* @property {number} [sleepStrokeColor=0x999a99] - The color value of the line stroke when rendering sleeping dynamic bodies.
* @property {number} [hullColor=0xd703d0] - The color value of hulls when `showConvexHulls` is set.
* @property {number} [sleepLineColor=0x999a99] - The color value of the line stroke when rendering sleeping dynamic bodies.
* @property {number} [jointColor=0xe0e042] - The color value of joints when `showJoint` is set.
* @property {number} [jointLineOpacity=1] - The line opacity when rendering joints, a value between 0 and 1.
* @property {number} [jointLineThickness=2] - The line thickness when rendering joints.
* @property {number} [pinSize=4] - The size of the circles drawn when rendering pin constraints.
* @property {number} [pinColor=0x42e0e0] - The color value of the circles drawn when rendering pin constraints.
* @property {number} [springColor=0xe042e0] - The color value of spring constraints.
* @property {number} [anchorColor=0xefefef] - The color value of constraint anchors.
* @property {number} [anchorSize=6] - The size of the circles drawn as the constraint anchors.
* @property {number} [hullColor=0xd703d0] - The color value of hulls when `showConvexHulls` is set.
*/

View file

@ -31,17 +31,5 @@
* @property {number} [positionDampen=0.9] - Sets the Resolver position dampen property.
* @property {number} [positionWarming=0.8] - Sets the Resolver position warming property.
* @property {number} [frictionNormalMultiplier=5] - Sets the Resolver friction normal multiplier property.
* @property {(boolean|Phaser.Types.Physics.Matter.MatterDebugConfig)} [debug=false] - Sets if Matter will render to the debug Graphic overlay. As of Phaser 3.22 it should be a `MatterDebugConfig` object instead of a boolean.
* @property {boolean} [debugShowBody=true] - Should dynamic bodies be drawn to the debug graphic? Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugShowStaticBody=true] - Should static bodies be drawn to the debug graphic? Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {number} [debugBodyColor=0xff00ff] - The color that dynamic body debug outlines are drawn in. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {number} [debugBodyFillColor=0xe3a7e3] - The color that dynamic body debug fills are drawn in. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {number} [debugStaticBodyColor=0x0000ff] - The color that static body debug outlines are drawn in. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugShowJoint=true] - Render joints to the debug graphic. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {number} [debugJointColor=0x000000] - The color that the debug joints are drawn in. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugWireframes=true] - Render the debug output as wireframes. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugShowInternalEdges=false] - Render internal edges to the debug. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugShowConvexHulls=false] - Render convex hulls to the debug. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {number} [debugConvexHullColor=0xaaaaaa] - The color that the debug convex hulls are drawn in, if enabled. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {boolean} [debugShowSleeping=false] - Render sleeping bodies the debug. Deprecated in Phaser 3.22: use a `MatterDebugConfig` object instead.
* @property {(boolean|Phaser.Types.Physics.Matter.MatterDebugConfig)} [debug=false] - Controls the Matter Debug Rendering options. If a boolean it will use the default values, otherwise, specify a Debug Config object.
*/