struct
ArcVec4
- Module
- Arc
- Header
#include "Arc/Core/ArcMath.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
float | X | Default 0.0f. |
float | Y | Default 0.0f. |
float | Z | Default 0.0f. |
float | W | Default 0.0f. |
Constructors
| Signature | Name | Description |
|---|---|---|
ArcVec4() = default | ArcVec4 | |
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
| Returns | Name | Description |
|---|---|---|
ArcVec4 | operator+ | |
ArcVec4 | operator- | |
ArcVec4 | operator* | |
bool | operator== | |
bool | operator!= | |
ArcVec4 | Lerp |
Function details
ArcVec4
C++
ArcVec4() = defaultArcVec4
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) constoperator-
C++
ArcVec4 operator-(const ArcVec4& other) constoperator*
C++
ArcVec4 operator*(float scalar) constoperator==
C++
bool operator==(const ArcVec4& other) constoperator!=
C++
bool operator!=(const ArcVec4& other) constLerp
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