Data Types: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Blocco
No edit summary
>Blocco
Added Ray
Line 19: Line 19:
**[[UDim]]
**[[UDim]]
*[[Vector2]]
*[[Vector2]]
*[[Vector3]]
*[[CFrame]]
*[[CFrame]]
**[[Vector3]]
**[[Vector3]]
Line 25: Line 26:
*[[BrickColor]]
*[[BrickColor]]
**[[Color3]]
**[[Color3]]
*[[Ray]]
**[[Vector3]]


<nowiki>*</nowiki>Please note that ''Rotation Matrix'' is not classified as a Data Type.*
<nowiki>*</nowiki>Please note that ''Rotation Matrix'' is not classified as a Data Type.*

Revision as of 14:51, 31 May 2010

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.

*Please note that Rotation Matrix is not classified as a Data Type.*

Others

These are more complex, or just more specific. They tend to be an assortment of data.