raycastable property

bool raycastable
getter/setter pair

Whether scene raycasts (Scene.raycast) test this node's meshes.

Disable for geometry that renders but should be transparent to rays (effects, decals); it then neither blocks nor receives picks. Distinct from visible: invisible nodes are already skipped by default.

Implementation

// TODO(fscene): serialize this flag (NodeSpec field + json + diff).
bool raycastable = true;