Skip to content
Konjure / spatial intelligence

PointCloud

← Builtin reference

A bounded set of points rendered with a shared radius.

Signature

type PointCloud { points: Tensor[f32] = tensor[f32]([], [0, 3])?; radius: Number = 0.02; }

Rendering requires 1 through 16384 points and a positive radius. The adapter expands each point into tessellated sphere geometry, so this is not a point GPU primitive contract.

Fields

points: Tensor[f32]
An N by 3 Tensor[f32] of local XYZ positions in meters; the adapter requires 1..=16384 points.
Defaulttensor[f32]([], [0, 3])?
radius: f64
Point radius in meters; defaults to 0.02.
Default0.02

Examples

Create points

A spatial adapter consumes the points when the value is attached to an entity.

Tick 0 · 0.00 sThis device
main.kj⌘ / Ctrl + Enter
Loading…Drag to orbit · select to inspect
0 entities
Loading the language runtime…
Output 0
No output.
Expected output
2

Rust definition

Interpreter RecordValue geometry schema; the adapter expands points into render geometry.

See also