Data Types: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Mr Doom Bringer No edit summary |
>JulienDethurens This isn't a data type... |
||
(25 intermediate revisions by 6 users not shown) | |||
Line 11: | Line 11: | ||
*[[Boolean]] | *[[Boolean]] | ||
*[[String]] | *[[String]] | ||
*[[Content]] | |||
*[[Functions]] | |||
Line 18: | Line 20: | ||
*[[UDim2]] | *[[UDim2]] | ||
**[[UDim]] | **[[UDim]] | ||
*[[Userdata]] | |||
*[[Vector3]] | *[[Vector3]] | ||
**[[Vector2]] | **[[Vector2]] | ||
*[[Vector3int16]] | |||
*[[CFrame]] | *[[CFrame]] | ||
*[[Tables]] | *[[Tables]] | ||
Line 25: | Line 29: | ||
**[[Color3]] | **[[Color3]] | ||
*[[Ray]] | *[[Ray]] | ||
*[[Struct]] | |||
*[[Axes]] | |||
*[[Content]] | |||
*[[Faces_(Struct)|Faces]] | |||
*[[Region3]] | |||
*[[Region3int16]] | |||
===Others=== | ===Others=== | ||
Line 31: | Line 40: | ||
*[[Instance]] | *[[Instance]] | ||
*[[Enumeration|Enumeration (Enum)]] | |||
Latest revision as of 17:49, 7 April 2012
In Roblox Lua, as well as all programming languages, you will run into data types. These are the type of values that you can store in Variables and use in Functions. Roblox has several different types of data.
Single Values
These are data types that involve a simple number or other stuff.
Multiple Values
These data types take several different values at once, and have special formatting.
- UDim2
- Userdata
- Vector3
- Vector3int16
- CFrame
- Tables
- BrickColor
- Ray
- Struct
- Axes
- Content
- Faces
- Region3
- Region3int16
Others
These are more complex, or just more specific. They tend to be an assortment of data.