MeshType (Property): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Mindraker
mNo edit summary
>Camoy
No edit summary
Line 1: Line 1:
{{CatUp|Properties}}
<onlyinclude>{{Property
 
|name = MeshType
{{Property|
name = MeshType
|property = [[Enum]] ''MeshType''
|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 (Object)|SpecialMesh]]
|object = [[SpecialMesh]]
|}}
}}</onlyinclude>


{{clear floats}}


{{Enum|The MeshType [[Enum]] is used to set what type of mesh the SpecialMesh is.|
{{Enum/row|0|Head|Makes the object head-shaped.}}
{{Enum/row|1|Torso|Makes the object torso-shaped.}}
{{Enum/row|2|Wedge|Makes the object triangle-shaped.}}
{{Enum/row|3|Sphere|Makes the object sphere-shaped.}}
{{Enum/row|4|Cylinder|Makes the object cylinder-shaped.}}
{{Enum/row|5|FileMesh|Allows a custom mesh, specified by the [[MeshId]], to be used.}}
{{Enum/row|5|Brick|Makes the object brick-shaped.}}
}}


{| class="wikitable" width=100% border="1" cellspacing="0" cellpadding="4" style="background-color: #fdd; border: 1px solid #f00;"
[[Category:Properties]]
|+ <big>The MeshType [[Enum]] is used to set What type of mesh the SpecialMesh is. It holds 7 values.</big>
|-
| bgcolor="#AB5454"|<span style="color:white">'''Enum'''</span>
| bgcolor="#AB5454"|<span style="color:white">'''Name'''</span>
| bgcolor="#AB5454"|<span style="color:white">'''Description'''</span>
|-
|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.
|}

Revision as of 16:38, 30 January 2011

MeshType
Property Enum MeshType
Description Sets what type of mesh the object is.
Member of [[RBX.lua.SpecialMesh (Object)|SpecialMesh]]
The MeshType Enum is used to set what type of mesh the SpecialMesh is.
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.
5 Brick Makes the object brick-shaped.