PartType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
No edit summary
>Anaminus
enum
Line 1: Line 1:
{{CatUp|Class reference}}
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 4px dashed #f00;"
{{CatUp|Properties}}
|+ <big>The PartType [[Enum]] controls the shape of an object (Such as [[RBX.lua.Part (Object)|Part]]). It holds 3 values.</big>
 
|-
__NOTOC__
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
 
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
The [[Enum]] PartType controls the [[Shape]] of the object [[RBX.Lua.Part|Part]]. It holds three values:
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
 
|-
*0: Ball
|0
*1: Block
|Ball
*2: Cylinder
|Makes the object ball-shaped (not a mesh).
 
|-
[[Category:Properties]]
|1
[[Category:Enum]]
|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>

Revision as of 02:49, 14 September 2008

The PartType Enum controls the shape of an object (Such as Part). It holds 3 values.
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).