<clpp/datatypes.clh>
<clpp/datatypes.clh>
Section titled “<clpp/datatypes.clh>”Vector3, CFrame, UDim2, Color3, and string_concat.
Syntax
Section titled “Syntax”#include <clpp/datatypes.clh>Parameters
Section titled “Parameters”None.
Return value
Section titled “Return value”None.
Luau emit
Section titled “Luau emit”datatype constructors stay global
Description
Section titled “Description”Datatypes are values: Vector3(8, 1, 8), not new Vector3. Methods/static names use :: which emits . for datatypes.
Example
Section titled “Example”part.Size = Vector3(8, 1, 8);part.CFrame = CFrame.lookAt(from, look);Emits:
part.Size = Vector3.new(8, 1, 8)part.CFrame = CFrame.lookAt(from, look)