vec4
vec4()A FLOAT4 attribute: a 4D float32 vector per element (Blender 5.2+).
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
vec4.fill(value)Fill the array with a scalar value and sync to Blender.
partition
vec4.partition(*args, **kwargs)Partition the array in-place and sync to Blender.
put
vec4.put(*args, **kwargs)Set values at the given flat indices and sync to Blender.
sort
vec4.sort(*args, **kwargs)Sort the array in-place and sync to Blender.