struct
MiriVec4
- Module
- Miri
- Header
#include "Miri/Core/MiriMath.h"- Namespace
Miri
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 |
|---|---|---|
MiriVec4() = default | MiriVec4 | |
constexpr MiriVec4(float x, float y, float z, float w) : X(x), Y(y), Z(z), W(w) | MiriVec4 | |
constexpr explicit MiriVec4(float scalar) : X(scalar), Y(scalar), Z(scalar), W(s… | MiriVec4 | |
constexpr MiriVec4(const MiriVec2& xy, float z, float w) : X(xy.X), Y(xy.Y), Z(z… | MiriVec4 |
Public functions
| Returns | Name | Description |
|---|---|---|
MiriVec4 | operator+ | |
MiriVec4 | operator- | |
MiriVec4 | operator* | |
bool | operator== | |
bool | operator!= | |
MiriVec4 | Lerp |
Function details
MiriVec4
C++
MiriVec4() = defaultMiriVec4
C++
constexpr MiriVec4(float x, float y, float z, float w) : X(x), Y(y), Z(z), W(w)MiriVec4
C++
constexpr explicit MiriVec4(float scalar) : X(scalar), Y(scalar), Z(scalar), W(scalar)MiriVec4
C++
constexpr MiriVec4(const MiriVec2& xy, float z, float w) : X(xy.X), Y(xy.Y), Z(z), W(w)operator+
C++
MiriVec4 operator+(const MiriVec4& other) constoperator-
C++
MiriVec4 operator-(const MiriVec4& other) constoperator*
C++
MiriVec4 operator*(float scalar) constoperator==
C++
bool operator==(const MiriVec4& other) constoperator!=
C++
bool operator!=(const MiriVec4& other) constLerp
C++
static MiriVec4 Lerp(const MiriVec4& a, const MiriVec4& b, float t)Generated from Miri/Core/MiriMath.h via miri.json · Dec 5, 2026Version 1.1.0