SigmaBoy456

Roblox Properties GUI keyword

Aug 2nd, 2024 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. ScreenGui
  2. Frame
  3. TextLabel
  4. TextButton
  5. ImageLabel
  6. ImageButton
  7. UICorner
  8. UIPadding
  9. UIScale
  10. UIStroke
  11. UIGridLayout
  12. UIListLayout
  13. UIPageLayout
  14. UIAspectRatioConstraint
  15. TextBox
  16. ScrollingFrame
  17. SurfaceGui
  18. BillboardGui
  19. AlignPosition
  20. AlignOrientation
  21. AlignSize
  22. ListLayout
  23. GridLayout
  24. PageLayout
  25. UIGradient
  26. UIAnchor
  27. UITextSizeConstraint
  28. UISizeConstraint
  29. UIConstraint
  30. UIViewportFrame
  31. UISizeConstraint
  32. UIFill
  33. UIStroke
  34. UITextBox
  35. UICorner
  36. UISizeConstraint
  37. AlignPosition
  38. AlignOrientation
  39. AlignSize
  40. UIListLayout
  41. UITextBox
  42. UIGridLayout
  43. UIPageLayout
  44. UIPadding
  45. UIScale
  46. UITextSizeConstraint
  47. UIAspectRatioConstraint
  48. UITextBox
  49. UIConstraint
  50. UIStroke
  51. UIGridLayout
  52. UIListLayout
  53. UIPageLayout
  54. TextLabel
  55. ImageLabel
  56. ImageButton
  57. TextButton
  58. ScrollingFrame
  59. SurfaceGui
  60. BillboardGui
  61. Frame
  62. UICorner
  63. UIGradient
  64. UITextSizeConstraint
  65. UISizeConstraint
  66. ListLayout
  67. GridLayout
  68. PageLayout
  69. UICorner
  70. UIGradient
  71. UIStroke
  72. UISizeConstraint
  73. UITextSizeConstraint
  74. UIAnchor
  75. TextButton
  76. TextLabel
  77. ImageLabel
  78. ImageButton
  79. Frame
  80. ScrollingFrame
  81. TextBox
  82. SurfaceGui
  83. BillboardGui
  84. AlignPosition
  85. AlignOrientation
  86. AlignSize
  87. ScreenGui
  88. Frame
  89. TextLabel
  90. TextButton
  91. ImageLabel
  92. ImageButton
  93. UICorner
  94. UIPadding
  95. UIScale
  96. UIStroke
  97. UIGridLayout
  98. UIListLayout
  99. UIPageLayout
  100. UIPadding
  101. UIAspectRatioConstraint
  102. TextBox
  103. ScrollingFrame
  104. Documentation
  105. Search Docs (Ctrl + K)
  106. Engine
  107. Reference
  108. Data Types
  109. PhysicalProperties
  110. Show Deprecated
  111. The PhysicalProperties data type describes several physical properties of a BasePart: Density, Elasticity, and Friction. It is used in the similarly-named BasePart.CustomPhysicalProperties property.
  112.  
  113. Weighting Behavior
  114. PhysicalProperties also provides weightings properties, ElasticityWeight and FrictionWeight. When two parts interact, the friction and elasticity between them are determined in the same way by the following pairwise weighted average function:
  115.  
  116. local function getActualFriction(partA, partB)
  117. return (partA.Friction * partA.FrictionWeight + partB.Friction * partB.FrictionWeight) / (partA.FrictionWeight + partB.FrictionWeight)
  118. end
  119. Although the formula above refers to the Friction and FrictionWeight of two parts, A and B, the formula is used in the same manner when determining Elasticity. Generally, when the weight of A is much greater than that of B, the actual value will be closer to A. If the weights are similar, the actual value will be close to the midpoint between their individual values.
  120.  
  121. Summary
  122. Constructors
  123. new(material : Enum.Material)
  124. Returns a PhysicalProperties with the default properties for the given material.
  125.  
  126. new(density : number,friction : number,elasticity : number)
  127. Returns a PhysicalProperties with the specified density, friction, and elasticity.
  128.  
  129. new(density : number,friction : number,elasticity : number,frictionWeight : number,elasticityWeight : number)
  130. Creates a PhysicalProperties container with the specified density, friction, elasticity, weight of friction, and weight of elasticity.
  131.  
  132. Properties
  133. Density:number
  134. The mass per unit volume of the part.
  135.  
  136. Friction:number
  137. The deceleration of the part when rubbing against another part.
  138.  
  139. Elasticity:number
  140. The amount of energy retained when colliding with another part.
  141.  
  142. FrictionWeight:number
  143. The importance of the part's Friction property when calculating the friction with the colliding part.
  144.  
  145. ElasticityWeight:number
  146. The importance of the part's Elasticity property when calculating the elasticity with the colliding part.
  147. ListLayout
  148. GridLayout
  149. PageLayout
  150. UICorner
  151. UIGradient
  152. UIStroke
  153. UISizeConstraint
  154. UITextSizeConstraint
  155. UIAnchor
  156. TextButton
  157. TextLabel
  158. ImageLabel
  159. ImageButton
  160. Frame
  161. ScrollingFrame
  162. TextBox
  163. SurfaceGui
  164. BillboardGui
  165. AlignPosition
  166. AlignOrientation
  167. AlignSize
  168. ScreenGui
  169. Frame
  170. TextLabel
  171. TextButton
  172. ImageLabel
  173. ImageButton
  174. UICorner
  175. UIPadding
  176. UIScale
  177. UIStroke
  178. UIGridLayout
  179. UIListLayout
  180. UIPageLayout
  181. UIPadding
  182. UIAspectRatioConstraint
  183. TextBox
  184. ScrollingFrame
Advertisement
Add Comment
Please, Sign In to add comment