vec2
vec2()A FLOAT2 attribute: a 2D float32 vector per element.
Methods
| Name | Description |
|---|---|
| fill | Fill the array with a scalar value and sync to Blender. |
| partition | Partition the array in-place and sync to Blender. |
| put | Set values at the given flat indices and sync to Blender. |
| sort | Sort the array in-place and sync to Blender. |
fill
vec2.fill(value)Fill the array with a scalar value and sync to Blender.
partition
vec2.partition(*args, **kwargs)Partition the array in-place and sync to Blender.
put
vec2.put(*args, **kwargs)Set values at the given flat indices and sync to Blender.
sort
vec2.sort(*args, **kwargs)Sort the array in-place and sync to Blender.