/// rcp authored schema
DirectionalLightComponent
Exact USDA block introduced by RCP plus fixture-backed contract evidence.
Quick Read
DirectionalLightComponent has 8 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 "DirectionalLight" with info:id = "RealityKit.DirectionalLight".
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 "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
}
} Sparse Patch Examples
Each fixture shows the USDA block RCP writes when a single parameter is changed in the inspector.
Changes: color
Changed field: color
def RealityKitComponent "DirectionalLight"
{
float3 color = (1, 1, 0)
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
}
} Changes: intensity
Changed field: intensity
def RealityKitComponent "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
float intensity = 70000
def RealityKitStruct "Shadow"
{
}
} Changes: isEnabled
Changed field: isEnabled
def RealityKitComponent "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
bool isEnabled = 1
}
} Changes: isEnabled
Changed field: isEnabled
def RealityKitComponent "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
bool isEnabled = 1
}
} Changes: cullMode, isEnabled
Changed fields: cullMode, isEnabled
def RealityKitComponent "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
token cullMode = "Back"
bool isEnabled = 1
}
} Changes: cullMode, isEnabled
Changed fields: cullMode, isEnabled
def RealityKitComponent "DirectionalLight"
{
uniform token info:id = "RealityKit.DirectionalLight"
def RealityKitStruct "Shadow"
{
token cullMode = "Front"
bool isEnabled = 1
}
} Fields
color float3 - Baseline
- not written — sparse only
- Written as
(1, 1, 0)
cullMode token - Baseline
- not written — sparse only
- Written as
"Back", "Front", "None"
depthBias float - Baseline
- not written — sparse only
- Written as
2
intensity float - Baseline
- not written — sparse only
- Written as
70000
isEnabled bool - Baseline
- not written — sparse only
- Written as
1
orthographicScale float - Baseline
- not written — sparse only
- Written as
2
projectionType token - Baseline
- not written — sparse only
- Written as
"Fixed", "Automatic"
zBounds float2 - Baseline
- not written — sparse only
- Written as
(0.02, 20)
Observed Authoring Matrix
13 fixtures × 8 fields
| Variant | color | cullMode | depthBias | intensity | isEnabled | orthographicScale | projectionType | zBounds | Interpretation |
|---|---|---|---|---|---|---|---|---|---|
| BASE.usda | omitted | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Canonical baseline fixture |
| Color.usda | (1, 1, 0) | omitted | omitted | omitted | omitted | omitted | omitted | omitted | Changes: color |
| Intensity.usda | omitted | omitted | omitted | 70000 | omitted | omitted | omitted | omitted | Changes: intensity |
| ShadowsCullingModeBack.usda | omitted | "Back" | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowsCullingModeDefault.usda | omitted | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: isEnabled |
| ShadowsCullingModeFront.usda | omitted | "Front" | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowsCullingModeNone.usda | omitted | "None" | omitted | omitted | 1 | omitted | omitted | omitted | Changes: cullMode, isEnabled |
| ShadowsDepthBias.usda | omitted | omitted | 2 | omitted | 1 | omitted | omitted | omitted | Changes: depthBias, isEnabled |
| ShadowsEnabled.usda | omitted | omitted | omitted | omitted | 1 | omitted | omitted | omitted | Changes: isEnabled |
| ShadowsOrtographicScale.usda | omitted | omitted | omitted | omitted | 1 | 2 | "Fixed" | omitted | Changes: isEnabled, orthographicScale, projectionType |
| ShadowsProjectionTypeAutomatic.usda | omitted | omitted | omitted | omitted | 1 | omitted | "Automatic" | omitted | Changes: isEnabled, projectionType |
| ShadowsProjectionTypeFixed.usda | omitted | omitted | omitted | omitted | 1 | omitted | "Fixed" | omitted | Changes: isEnabled, projectionType |
| ShadowsZBounds.usda | omitted | omitted | omitted | omitted | 1 | omitted | "Fixed" | (0.02, 20) | Changes: isEnabled, projectionType, zBounds |