API reference
Preparing search index…

ReadonlyValue<T>

ReadonlyValue: {
    readonly [K in keyof T as K extends typeof mutableValue ? never : K]: K extends | symbol
    | "scalarType"
    | "x"
    | "y"
    | "z"
    | "w"
        ? T[K]
        : T[K] extends Float32Array
            ? ReadonlyFloatArray
            : T[K] extends { "[mutableValue]": true } ? ReadonlyValue<T[K]> : T[K]
}

Const data members recurse; methods still return independent mutable values.

Type Parameters

  • T
Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0