HoloField - Boundary-to-Volume Generator
    Preparing search index...

    Interface BoundaryField

    Produces a scalar information field evaluated over a surface domain. Recommended range: [-1,1]

    Boundary fields are independent of the underlying surface geometry; it's the sampler's job to determine how positions on a surface are represented and provide the coordinates passed on to the field.

    • Boundary fields make no assumption about geometry.

    The primary use case is spherical surfaces, where the sampler provides normalized direction vectors with components in the range [-1, 1]. However, alternative samplers may represent other surface types, such as planar surfaces, provided the field implementation supports the supplied coordinate space.

    Boundary fields should produce normalized values in the range [-1,1], unless the mathematical representation requires another scale.

    interface BoundaryField {
        metadata: {
            description: string;
            displayName: string;
            mathFunction: string;
        };
        sample(coordinate: Vector3): number;
    }
    Index
    metadata: { description: string; displayName: string; mathFunction: string }
    • Parameters

      Returns number