Skip to content

Translation

Summary

3D translation vector.

Methods

set_xyz

Signature: set_xyz(value: collections.abc.Sequence[float]) -> None

Additional overloads

  • set_xyz(x: float, y: float, z: float) -> None

Overloaded function.

to_string

Signature: to_string() -> str

Return human-readable representation.

xyz

Signature: xyz() -> list[float]

Return translation as [x, y, z].

Properties

x

X component.

y

Y component.

z

Z component.