Taos API Reference
    Preparing search index...

    Class ConstantColorSkyFeature

    Initializes frame.hdr to a flat color. The simplest of the three sky options — no panorama lookup, no scattering integration, just a clear that gives downstream lit passes (deferred lighting, forward, forward+) something to load from. Pick this when the scene has its own opaque background or you only need a solid fill.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string = ConstantColorSkyFeature.name

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    color: [number, number, number, number]

    Active clear color — mutable, re-read each frame.

    Methods