SurfaceType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Trappingnoobs
No edit summary
>Trappingnoobs
Follows new enum syntax
Line 1: Line 1:
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"
{{Enum|The SurfaceType [[Enum]] has 9 numbers:|
{{EnumTitle|colspan=3|The SurfaceType [[Enum]] holds 9 numbers:}}
{{Enum/row|0|Smooth|Does not form a bond with any other surface.}}
|-
{{Enum/row|1|Glue|Forms a loose bond with other surfaces.}}
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
{{Enum/row|2|Weld|Forms a strong bond with other surfaces.}}
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
{{Enum/row|3|Studs|Only forms a weld-like bond with inlet surfaces.}}
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
{{Enum/row|4|Inlet|Only forms a weld-like bond with studded surfaces.}}
|-
{{Enum/row|5|Universal|Forms weld-like bonds with Weld, Studs, Inlet and itself.}}
|0
{{Enum/row|6|Hinge|Forms a hinge-like bond with other surfaces, with free movement.}}
|Smooth
{{Enum/row|7|Motor|Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the [[SurfaceInput (Property)|surface input]].}}
|Does not form a bond with any other surface.
{{Enum/row|8|SteppingMotor|Same as Motor.}}
|-
}}
|1
|Glue
|Forms a loose bond with other surfaces.
|-
|2
|Weld
|Forms a strong bond with other surfaces.
|-
|3
|Studs
|Only forms a weld-like bond with inlet surfaces.
|-
|4
|Inlet
|Only forms a weld-like bond with studded surfaces.
|-
|5
|Universal
|Forms weld-like bonds with Weld, Studs, Inlet and itself.
|-
|6
|Hinge
|Forms a hinge-like bond with other surfaces, with free movement.
|-
|7
|Motor
|Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the [[SurfaceInput (Property)|surface input]].
|-
|8
|SteppingMotor
|Same as Motor.
|}


[[Category: Enums]]
[[Category: Enums]]

Revision as of 20:49, 20 July 2011

The SurfaceType Enum has 9 numbers:
Enum Name Description
0 Smooth Does not form a bond with any other surface.
1 Glue Forms a loose bond with other surfaces.
2 Weld Forms a strong bond with other surfaces.
3 Studs Only forms a weld-like bond with inlet surfaces.
4 Inlet Only forms a weld-like bond with studded surfaces.
5 Universal Forms weld-like bonds with Weld, Studs, Inlet and itself.
6 Hinge Forms a hinge-like bond with other surfaces, with free movement.
7 Motor Forms a hinge-like bond with other surfaces, without free movement. A motors behavior depends on the surface input.
8 SteppingMotor Same as Motor.