---
Product: Aspose.3D
Platform: python
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/python/fvector4
---

# FVector4

## Overview

`FVector4` is a class in Aspose.3D FOSS for Python.

FVector4 stores four floating‑point components (x, y, z, w) for representing positions, colors, or homogeneous coordinates.

This class declares 5 methods for FVector4 objects in Python programs.
Available methods include: `__eq__`, `__getitem__`, `__init__`, `__repr__`, `__setitem__`.
Public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package.
Properties: `w`, `x`, `y`, `z`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `x` | `float` | Read/Write | Gets or sets the x. |
| `y` | `float` | Read/Write | Gets or sets the y. |
| `z` | `float` | Read/Write | Gets or sets the z. |
| `w` | `float` | Read/Write | Gets or sets the w. |

## Methods

| Signature | Description |
|-----------|-------------|
| `__init__(x, y, z, w)` | Calls __init__(x, y, z, w) on this FVector4 instance. |
| `__getitem__(key: int)` → `float` | Calls __getitem__(key) on this FVector4 instance. |
| `__setitem__(key: int, value: float)` | Calls __setitem__(key, value) on this FVector4 instance. |
| `__repr__()` → `str` | Calls __repr__ on this FVector4 instance. |
| `__eq__(other)` → `bool` | Calls __eq__(other) on this FVector4 instance. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)