MeshType (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
cats
>Anaminus
enum table
Line 3: Line 3:
{{Property|
{{Property|
name = MeshType
name = MeshType
|property = [[Enum]] ''Mesh type''
|property = [[Enum]] ''MeshType''
|description = Sets what type of mesh the object is.
|description = Sets what type of mesh the object is.
|object = [[RBX.Lua.SpecialMesh|SpecialMesh]]
|object = [[RBX.Lua.SpecialMesh|SpecialMesh]]
Line 9: Line 9:




The [[Enum]] MeshType is used to set the type of Mesh object. It has 7 numbers:


*0: Head
{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 4px dashed #f00;"
*1: Torso
|+ <big>The InOut [[Enum]] is used to set where the object is on the side of it's parent. It has 3 numbers.</big>
*2: Wedge
|-
*3: Sphere
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
*4: Cylinder
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
*5: FileMesh
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
*6: Brick
|-
 
|0
This Enum set is used by the [[RBX.Lua.SpecialMesh|SpecialMesh]] object.
|Head
 
|Makes the object head-shaped.
[[Category:Enum]]
|-
[[Category:Properties]]
|1
|Torso
|Makes the object torso-shaped.
|-
|2
|Wedge
|Makes the object triangle-shaped.
|-
|3
|Sphere
|Makes the object sphere-shaped.
|-
|4
|Cylinder
|Makes the object cylinder-shaped.
|-
|5
|FileMesh
|Allows a custom mesh, specified by the [[MeshId]], to be used.
|-
|6
|Brick
|Makes the object brick-shaped.
|}

Revision as of 02:04, 14 September 2008

MeshType
Property Enum MeshType
Description Sets what type of mesh the object is.
Member of [[RBX.lua.SpecialMesh (Object)|SpecialMesh]]


The InOut Enum is used to set where the object is on the side of it's parent. It has 3 numbers.
Enum Name Description
0 Head Makes the object head-shaped.
1 Torso Makes the object torso-shaped.
2 Wedge Makes the object triangle-shaped.
3 Sphere Makes the object sphere-shaped.
4 Cylinder Makes the object cylinder-shaped.
5 FileMesh Allows a custom mesh, specified by the MeshId, to be used.
6 Brick Makes the object brick-shaped.