Crate rbx_types[−][src]
Structs
Represents a set of zero or more 3D axes.
Container for untyped binary data.
Represents a position and orientation in 3D space.
Represents any color, including HDR colors.
Represents non-HDR colors, i.e. those whose individual color channels do not
exceed 1. This type is used for serializing properties like
BasePart.Color
, but is not exposed as a distinct type to
Lua code.
A series of colors that can be tweened through.
A single color and point in time of a ColorSequence
A reference to a Roblox asset.
Custom physics properties that can be given to parts.
Represents any Roblox enum value.
Represents a set of zero or more faces of a cube.
Used to represent the orientation
field of CFrame
and not a standalone
type in Roblox.
A range between two numbers.
A sequence of numbers on a timeline. Each point contains a timestamp, a value, and a range that allows for randomized values.
A single value, envelope, and point in time of a NumberSequence
Represents a ray in 3D space. Direction does not have to be a unit vector,
and is used by APIs like Workspace:FindPartOnRay
to set a
max distance.
Represents a bounding rectangle in 2D space.
An universally unique, optional reference to a Roblox instance.
Represents a bounding box in 3D space.
A version of Region3
that uses signed 16-bit integers instead
of floats. Region3int16
is generally used in Terrain APIs.
A version of BinaryString
used for data that’s commonly repeated.
rbx_types
automatically deduplicates data as it’s loaded into
SharedString
values.
Standard unit for measuring UI given as scale
, a fraction of the
container’s size and offset
, display-indepdendent pixels.
Standard 2D unit for measuring UI given as scale
, a fraction of the
container’s size and offset
, display-indepdendent pixels.
The standard 2D vector type used in Roblox.
A version of Vector2
whose coordinates are signed 16-bit
integers.
The standard 3D vector type used in Roblox.
A version of Vector3
whose coordinates are signed 16-bit
integers. Vector3int16
is often used when working with Terrain.
Enums
BrickColor values were the old, palette-based system of defining colors in Roblox. As of the time of writing, they’re still used for some old systems like SpawnLocation and Team objects.
Represents the physical properties that parts can have.
Represents any Roblox type. Useful for operating generically on Roblox instances.
Represents any type that can be held in a Variant
.