Taos API Reference
    Preparing search index...

    Interface MeshRendererOptions

    Construction options for MeshRenderer. Every field is optional and maps to the like-named property; omitted fields keep the property default. The required Mesh and Material stay positional constructor args.

    interface MeshRendererOptions {
        castShadow?: boolean;
        reflectionProbeVisible?: boolean;
        lightExcludeMask?: number;
    }
    Index

    Properties

    castShadow?: boolean

    Whether this mesh casts shadows (MeshRenderer.castShadow).

    reflectionProbeVisible?: boolean

    Whether this mesh appears in probe captures (MeshRenderer.reflectionProbeVisible).

    lightExcludeMask?: number

    8-bit deferred light-exclusion mask (MeshRenderer.lightExcludeMask).