Crate rbx_types Copy item path Source Attributes AttributesDrain A draining iterator for Attributes.
This is created by Attributes::drain . AttributesIntoIter An owning iterator over the entries of an Attributes.
This is created by Attributes::into_iter . AttributesIter A borrowed iterator over the entries of an Attributes.
This is created by Attributes::iter . Axes Represents a set of zero or more 3D axes. BinaryString Container for untyped binary data. CFrame Represents a position and orientation in 3D space. Color3 Represents any color, including HDR colors. Color3uint8 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. ColorSequence A series of colors that can be tweened through. ColorSequenceKeypoint A single color and point in time of a ColorSequence Content A reference to a Roblox asset. ContentId A reference to a Roblox asset. CustomPhysicalProperties Custom physics properties that can be given to parts. EPOCH A SystemTime representing the UniqueId epoch. Enum Represents any Roblox EnumItem. EnumItem Represents a specific Roblox EnumItem. Error Represents an error that occurred when using a fallible method. Faces Represents a set of zero or more faces of a cube. Font A font face consisting of a typeface and other style properties. MaterialColors Represents the mapping of materials to colors used by Roblox’s Terrain. Matrix3 Used to represent the orientation field of CFrame and not a standalone
type in Roblox. NetAssetRef A type used by Roblox for certain networking and memory guarantees. NetAssetRefHash NumberRange A range between two numbers. NumberSequence A sequence of numbers on a timeline. Each point contains a timestamp, a
value, and a range that allows for randomized values. NumberSequenceKeypoint A single value, envelope, and point in time of a NumberSequence Ray 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. Rect Represents a bounding rectangle in 2D space. Ref An universally unique, optional reference to a Roblox instance. Region3 Represents a bounding box in 3D space. Region3int16 A version of Region3 that uses signed 16-bit integers instead
of floats. Region3int16 is generally used in Terrain APIs. SecurityCapabilities SharedString A version of BinaryString used for data that’s commonly repeated.
rbx_types automatically deduplicates data as it’s loaded into
SharedString values. SharedStringHash Tags Contains a list of tags that can be applied to an instance. TagsIter See Tags::iter . UDim Standard unit for measuring UI given as scale, a fraction of the
container’s size and offset, display-indepdendent pixels. UDim2 Standard 2D unit for measuring UI given as scale, a fraction of the
container’s size and offset, display-indepdendent pixels. UniqueId Represents a UUID with a custom epoch of midnight January 1st 2021. Vector2 The standard 2D vector type used in Roblox. Vector3 The standard 3D vector type used in Roblox. Vector2int16 A version of Vector2 whose coordinates are signed 16-bit
integers. Vector3int16 A version of Vector3 whose coordinates are signed 16-bit
integers. Vector3int16 is often used when working with Terrain. BrickColor 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. ContentType An enum representing what type a Content is. Roblox may add new values to
this enum unexpectedly, so it is marked as non_exhaustive. FontStyle Represents a ‘style’ for a Font. These correspond to values of the
FontStyle enum on Roblox. FontWeight Represents a ‘weight’ for a Font. These correspond to values of the
FontWeight enum on Roblox. PhysicalProperties Represents the physical properties that parts can have. TerrainMaterials All materials that are represented by MaterialColors. Variant Represents any Roblox type. Useful for operating generically on
Roblox instances. VariantType Represents any type that can be held in a Variant.