vec4
On this page

vec4

Type in Runtime

A vec4, the vector of four f32, as a host value: a readonly tuple of four f32.

import type { vec4 } from 'typeshade/runtime'

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

Syntax

type vec4 = readonly [f32, f32, f32, f32];

In the guide

Source

src/runtime/host-types.ts, line 64, at commit af54ddad5

Edit this page Report a problem