Data Types: Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco Possible fix? |
>JulienDethurens This isn't a data type... |
||
(34 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]] | ||
*[[Vector2]] | *[[Userdata]] | ||
*[[Vector3]] | |||
**[[Vector2]] | |||
*[[Vector3int16]] | |||
*[[CFrame]] | *[[CFrame]] | ||
*[[Tables]] | *[[Tables]] | ||
*[[BrickColor]] | *[[BrickColor]] | ||
**[[Color3]] | **[[Color3]] | ||
*[[Ray]] | |||
*[[Struct]] | |||
*[[Axes]] | |||
*[[Content]] | |||
*[[Faces_(Struct)|Faces]] | |||
*[[Region3]] | |||
*[[Region3int16]] | |||
===Others=== | ===Others=== | ||
These are more complex, or just more specific. They tend to be an assortment of data. | These are more complex, or just more specific. They tend to be an assortment of data. | ||
*[[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.