PartType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Trappingnoobs
Goes along with new Enum scheme now.
>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 PartType [[Enum]] controls the shape of an object (Such as [[RBX.lua.Part (Object)|Part]]). It has 3 numbers:|
{{EnumTitle|colspan=3|The PartType [[Enum]] controls the shape of an object (Such as [[RBX.lua.Part (Object)|Part]]). It has 3 numbers}}
{{Enum/row|0|Ball|Makes the object ball-shaped (not a mesh).}}
|-
{{Enum/row|1|Block|Makes the object brick-shaped. (not a mesh).}}
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
{{Enum/row|2|Cylinder|Makes the object cylinder-shaped (actually a ball, but looks like a cylinder).}}
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
}}<noinclude>
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
|-
|0
|Ball
|Makes the object ball-shaped (not a mesh).
|-
|1
|Block
|Makes the object brick-shaped. (not a mesh).
|-
|2
|Cylinder
|Makes the object cylinder-shaped (actually a ball, but looks like a cylinder).
|}<noinclude>
[[Category:Enums]]</noinclude>
[[Category:Enums]]</noinclude>

Revision as of 20:36, 20 July 2011

The PartType Enum controls the shape of an object (Such as Part). It has 3 numbers:
Enum Name Description
0 Ball Makes the object ball-shaped (not a mesh).
1 Block Makes the object brick-shaped. (not a mesh).
2 Cylinder Makes the object cylinder-shaped (actually a ball, but looks like a cylinder).