Model and world
The types component logic works with: the nodes of your model, rigid bodies, sensors, displays and wires, and the value types Vector2, Vector3, Vector4 and Color. CRUMB generates a member for each node you mark, such as Rendering.Wheel or Interactivity.Button, so you rarely name these types yourself.
| Type | What it is |
|---|---|
Color |
An RGBA colour of four float channels, each normally 0 to 1; the struct does not clamp them. |
ComponentLightWrapper |
Component-logic handle on a ComponentLight, exposed as Rendering. |
DisplaySurface |
A writable pixel surface on a mesh’s material, the render half of a display component (an SPI TFT, an LED matrix, a character LCD), reached as Rendering. |
FieldEmitterWrapper |
Component-logic handle on a FieldEmitter marker, exposed as Rendering. |
FieldReceiverWrapper |
Component-logic handle on a FieldReceiver marker, exposed as Rendering. |
GeometryNodeWrapper |
Handle on a mesh in the part’s Rendering tree, exposed as Rendering. |
ImageSensorWrapper |
Component-logic handle on an ImageSensor marker, exposed as Rendering. |
InteractivityZoneWrapper |
Component-logic accessor over an InteractivityZone, exposed as Interactivity. |
PointerHandler |
Handler for an interactivity-zone pointer event. |
RenderingNodeWrapper |
The base of the handles on a part’s rendering and connection nodes. |
RigidbodyWrapper |
Component-logic accessor over a physics BODY, exposed as Rendering. |
SpatialHit |
The result of one spatial cast from a rendering node (TransformNodeWrapper.Cast, TransformNodeWrapper.CastTo). |
TextDecalSurface |
The writable text of an author-placed decal: a chip’s part number, a capacitor’s value, a range legend on a switch. |
TransformNodeWrapper |
Handle on a node in the part’s Rendering tree, exposed as Rendering. |
Vector2 |
A 2D vector of two floats. |
Vector3 |
A 3D vector of three floats: a rendering node’s position, rotation or scale, a physics force, torque or velocity, a cast hit, or a shader vec3 uniform. |
Vector4 |
A vector of four floats, used for a shader vec4 uniform that is not a colour. |
WireConnectionWrapper |
The visual properties of one of the part’s wires, exposed to component logic as Connections. |
Generated from the CRUMB source, commit fcec660d, 2026-10-29.

