GeometryWrite ​Contract 2.0.0 · package sha256
a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e· generated fromconfigurator-runtime.d.tsbyservices/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.
Interface · import type { GeometryWrite } from '@holostep-configurators/runtime-client/contract'; · labs, @experimental · since 2.0.0 · section 20. Labs
New vertex data for labs.geometry.write: same vertex count and order as the part's.
| Member | Kind | Summary |
|---|---|---|
position? |
property | x, y, z per vertex, part-local metres. |
normal? |
property | x, y, z per vertex. |
uv? |
property | u, v per vertex; index = UV channel 0–3, as GeometryData.uv. |
export interface GeometryWrite {
position?: Float32Array;
normal?: Float32Array;
uv?: ReadonlyArray<Float32Array | undefined>;
}
| Rule | Result |
|---|---|
| 1. Neutral name | pass: GeometryWrite names no product |
| 2. A precedent | pass: Unity Mesh.SetVertices (row K54) |
| 3. Two apps, or labs | labs (@experimental at a stable path, reached through has() or supports()): it graduates when a second app uses it; apps today: app-b362a81c85, app-bcb7ef21da, app-f9a32142f1 |
| 4. The cheaper fix first | decided per need in Appendix B: rows K54 at tier asset, labs (a member only where no rule, data, asset or app code serves the need) |