struct

ArcVec4

Module
Arc
Header
#include "Arc/Core/ArcMath.h"
Namespace
Arcf

Properties

TypeNameDescription
floatXDefault 0.0f.
floatYDefault 0.0f.
floatZDefault 0.0f.
floatWDefault 0.0f.

Constructors

SignatureNameDescription
ArcVec4() = defaultArcVec4
constexpr ArcVec4(float x, float y, float z, float w) : X(x), Y(y), Z(z), W(w)ArcVec4
constexpr explicit ArcVec4(float scalar) : X(scalar), Y(scalar), Z(scalar), W(sc…ArcVec4
constexpr ArcVec4(const ArcVec2& xy, float z, float w) : X(xy.X), Y(xy.Y), Z(z),…ArcVec4

Public functions

ReturnsNameDescription
ArcVec4operator+
ArcVec4operator-
ArcVec4operator*
booloperator==
booloperator!=
ArcVec4Lerp

Function details

ArcVec4

C++
ArcVec4() = default

ArcVec4

C++
constexpr ArcVec4(float x, float y, float z, float w) : X(x), Y(y), Z(z), W(w)

ArcVec4

C++
constexpr explicit ArcVec4(float scalar) : X(scalar), Y(scalar), Z(scalar), W(scalar)

ArcVec4

C++
constexpr ArcVec4(const ArcVec2& xy, float z, float w) : X(xy.X), Y(xy.Y), Z(z), W(w)

operator+

C++
ArcVec4 operator+(const ArcVec4& other) const

operator-

C++
ArcVec4 operator-(const ArcVec4& other) const

operator*

C++
ArcVec4 operator*(float scalar) const

operator==

C++
bool operator==(const ArcVec4& other) const

operator!=

C++
bool operator!=(const ArcVec4& other) const

Lerp

C++
static ArcVec4 Lerp(const ArcVec4& a, const ArcVec4& b, float t)
Generated from Arc/Core/ArcMath.h via arc.json · Nov 5, 2026Version 1.0.0