PartType (Enum): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Nate
m Changing thirteen to three.
>Trappingnoobs
Follows new enum syntax
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The [[Enum]] PartType controls the [[Shape]] of the object [[RBX.Lua.Part|Part]]. It holds three values:
{{Enum|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).}}
*0: Ball
{{Enum/row|1|Block|Makes the object brick-shaped. (not a mesh).}}
*1: Block
{{Enum/row|2|Cylinder|Makes the object cylinder-shaped (actually a ball, but looks like a cylinder).}}
*2: Cylinder
}}<noinclude>
[[Category:Enums]]</noinclude>

Latest 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).