/// rcp authored schema
SpotLightComponent
Exact USDA block introduced by RCP plus fixture-backed contract evidence.
Quick Read
SpotLightComponent has 11 fields.
None are written in the baseline — RCP uses sparse authoring, emitting each field only when it differs from the engine default.
Authored as def RealityKitComponent "SpotLight" with info:id = "RealityKit.SpotLight".
For large components, prefer fixtures.csv for fixture-by-fixture authored rows and matrix.csv for the derived variant matrix.
Introduced USD Block
def RealityKitComponent "SpotLight"
{
uniform token info:id = "RealityKit.SpotLight"
def RealityKitStruct "Shadow"
{
}
} Sparse Patch Examples
Each fixture shows the USDA block RCP writes when a single parameter is changed in the inspector.
Changes: attenuationRadius
Changed field: attenuationRadius
def RealityKitComponent "SpotLight"
{
float attenuationRadius = 20
uniform token info:id = "RealityKit.SpotLight"
def RealityKitStruct "Shadow"
{
}
} Changes: color
Changed field: color
def RealityKitComponent "SpotLight"
{
float3 color = (0.071195416, 1, 1)
uniform token info:id = "RealityKit.SpotLight"
def RealityKitStruct "Shadow"
{
}
} Changes: innerAngle
Changed field: innerAngle
def RealityKitComponent "SpotLight"
{
uniform token info:id = "RealityKit.SpotLight"
float innerAngle = 90
def RealityKitStruct "Shadow"
{
}
} Changes: intensity
Changed field: intensity
def RealityKitComponent "SpotLight"
{
uniform token info:id = "RealityKit.SpotLight"
float intensity = 70000
def RealityKitStruct "Shadow"
{
}
} Changes: outerAngle
Changed field: outerAngle
def RealityKitComponent "SpotLight"
{
uniform token info:id = "RealityKit.SpotLight"
float outerAngle = 120
def RealityKitStruct "Shadow"
{
}
} Changes: isEnabled
Changed field: isEnabled
def RealityKitComponent "SpotLight"
{
uniform token info:id = "RealityKit.SpotLight"
def RealityKitStruct "Shadow"
{
bool isEnabled = 1
}
} Fields
attenuationFalloffExponent float - Baseline
- not written — sparse only
- Written as
4
attenuationRadius float - Baseline
- not written — sparse only
- Written as
10, 20
color float3 - Baseline
- not written — sparse only
- Written as
(0.071195416, 1, 1)
cullMode token - Baseline
- not written — sparse only
- Written as
"Back", "Front", "None"
depthBias float - Baseline
- not written — sparse only
- Written as
2
innerAngle float - Baseline
- not written — sparse only
- Written as
90
intensity float - Baseline
- not written — sparse only
- Written as
70000
isEnabled bool - Baseline
- not written — sparse only
- Written as
1, 0
outerAngle float - Baseline
- not written — sparse only
- Written as
120
zFar token - Baseline
- not written — sparse only
- Written as
"Fixed"
zNear token - Baseline
- not written — sparse only
- Written as
"Fixed"
Observed Authoring Matrix
16 fixtures × 11 fields
| Variant | attenuationFalloffExponent | attenuationRadius | color | cullMode | depthBias | innerAngle | intensity | isEnabled | outerAngle | zFar | zNear | Interpretation |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Attenuation Falloff.usda | 4 | 10 | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Changes: attenuationFalloffExponent, attenuationRadius |
| Attenuation Radius.usda | omitted | 20 | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Changes: attenuationRadius |
| BASE.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Canonical baseline fixture |
| Color.usda | omitted | omitted | (0.071195416, 1, 1) | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Changes: color |
| Inner Angle.usda | omitted | omitted | omitted | omitted | omitted | 90 | omitted | omitted | omitted | omitted | omitted | Changes: innerAngle |
| Intensity.usda | omitted | omitted | omitted | omitted | omitted | omitted | 70000 | omitted | omitted | omitted | omitted | Changes: intensity |
| Outer Angle.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 120 | omitted | omitted | Changes: outerAngle |
| ShadowBias.usda | omitted | omitted | omitted | omitted | 2 | omitted | omitted | 1 | omitted | omitted | omitted | Changes: depthBias, isEnabled |
| ShadowCullingModeBack.usda | omitted | omitted | omitted | "Back" | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowCullingModeDefault.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: isEnabled |
| ShadowCullingModeFront.usda | omitted | omitted | omitted | "Front" | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowCullingModeNone.usda | omitted | omitted | omitted | "None" | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowFar.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 1 | omitted | "Fixed" | omitted | Changes: isEnabled, zFar |
| ShadowNear.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 1 | omitted | omitted | "Fixed" | Changes: isEnabled, zNear |
| ShadowsDisabledAfterEnabled.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 0 | omitted | omitted | omitted | Changes: isEnabled |
| ShadowsEnabled.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: isEnabled |