rlmesh.params.Vector

classExperimentalfrom rlmesh.params import Vector[source]

A fixed-length float-vector Param type, passed as Param(type=Vector(3)).

Vector(dim: int, unit: bool = False)

The value stays a plain tuple of dim finite floats; a JSON-bound list is canonicalized to a tuple. Vector is only a schema descriptor sitting in Param.type next to "float"/"enum" – it is not a container the runtime carries. unit requires unit L2 norm (the quaternion/direction case). Sweeps come from choices (a list of whole vectors): there is no continuous vector domain.

Attributes

dim

attribute[source]
dim: int

unit

attribute[source]
unit: bool