/// rcp authored schema

DirectionalLightComponent

Exact USDA block introduced by RCP plus fixture-backed contract evidence.

ID: RealityKit.DirectionalLight Baseline: BASE.usda Fixture: Directional Light

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

USDA
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.

Color.usda

Changes: color

Changed field: color

USDA
def RealityKitComponent "DirectionalLight"
{
    float3 color = (1, 1, 0)
    uniform token info:id = "RealityKit.DirectionalLight"

    def RealityKitStruct "Shadow"
    {
    }
}
Intensity.usda

Changes: intensity

Changed field: intensity

USDA
def RealityKitComponent "DirectionalLight"
{
    uniform token info:id = "RealityKit.DirectionalLight"
    float intensity = 70000

    def RealityKitStruct "Shadow"
    {
    }
}
ShadowsCullingModeDefault.usda

Changes: isEnabled

Changed field: isEnabled

USDA
def RealityKitComponent "DirectionalLight"
{
    uniform token info:id = "RealityKit.DirectionalLight"

    def RealityKitStruct "Shadow"
    {
        bool isEnabled = 1
    }
}
ShadowsEnabled.usda

Changes: isEnabled

Changed field: isEnabled

USDA
def RealityKitComponent "DirectionalLight"
{
    uniform token info:id = "RealityKit.DirectionalLight"

    def RealityKitStruct "Shadow"
    {
        bool isEnabled = 1
    }
}
ShadowsCullingModeBack.usda

Changes: cullMode, isEnabled

Changed fields: cullMode, isEnabled

USDA
def RealityKitComponent "DirectionalLight"
{
    uniform token info:id = "RealityKit.DirectionalLight"

    def RealityKitStruct "Shadow"
    {
        token cullMode = "Back"
        bool isEnabled = 1
    }
}
ShadowsCullingModeFront.usda

Changes: cullMode, isEnabled

Changed fields: cullMode, isEnabled

USDA
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 colorcullModedepthBiasintensityisEnabledorthographicScaleprojectionTypezBounds 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
Pageview analytics comparison

We are comparing self-hosted OpenPanel with the analytics already used on this site. This comparison records page paths, referring website origins, pageview times, random event IDs, browser and device information, and approximate location. Our server processes IP and browser information to generate rotating, pseudonymous visitor IDs. No tracking cookies or persistent visitor IDs are saved in your browser. Queries, fragments and page titles are removed; click tracking and session replay are off.

Do Not Track and Global Privacy Control disable OpenPanel. If you change the choice below, only that preference is saved in your browser. Existing analytics remain active during the comparison.