Skip to content

Documentation / @sw-file-lib/core / math / ReadonlyVec2

Interface: ReadonlyVec2 ​

ts
interface ReadonlyVec2 {
  readonly x: number;
  readonly y: number;
}

Defined in: math/index.ts:22

Read only Vec2 type.

Type alias for function parameters that do not modify the vector.

Properties ​

PropertyModifierType

x

readonly

number

y

readonly

number