ShadingOutputs ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Interface · import type { ShadingOutputs } from '@holostep-configurators/runtime-client/contract'; · labs, @experimental · since 2.0.0 · section 20. Labs

The camelCased gltf_pbr inputs; omitted ones keep the material's.

Members ​

Member Kind Summary
baseColor? property The graph's output for the base colour; it replaces the material's value there.
alpha? property The graph's output for the opacity, 0..1; it replaces the material's value there.
roughness? property The graph's output for the roughness, 0..1; it replaces the material's value there.
metallic? property The graph's output for the metalness, 0..1; it replaces the material's value there.
normal? property The graph's output for the shading normal; it replaces the material's value there.
emissive? property The graph's output for the emitted colour; it replaces the material's value there.
occlusion? property The graph's output for the ambient occlusion, 0..1; it replaces the material's value there.

Declaration ​

ts
export interface ShadingOutputs {
  baseColor?: ShadingNode<'color3'>;
  alpha?: ShadingNode<'float'>;
  roughness?: ShadingNode<'float'>;
  metallic?: ShadingNode<'float'>;
  normal?: ShadingNode<'vector3'>;
  emissive?: ShadingNode<'color3'>;
  occlusion?: ShadingNode<'float'>;
}

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: ShadingOutputs names no product
2. A precedent not recorded: no ledger row (coverage.json) names this member or its owner
3. Two apps, or labs labs (@experimental at a stable path, reached through has() or supports()): it graduates when a second app uses it
4. The cheaper fix first not recorded per member (Appendix B decides it per need)