• Returns an expression that resolves to a vector pointing downwards (towards the center of the Earth) for everything inside the given shape. It resolves to a zero vector for everything outside the given shape. This expression is useful, for example, as a displacement expression on MeshStyle to displace (parts of) meshes. For example:

      var _ = ExpressionFactory;
    var shape = _.orientedBox(layer.orientedBox);
    _.pushDown(shape);

    results in an expression that represents the vector to push down everything inside the bounding oriented box of the layer.

    This type of expression is only supported for styling expressions used by TileSet3DLayer. Only orientedBox expressions are supported as shapes.

    Parameters

    Returns Expression<Vector3>

    An expression that represents a displacement based on the given shape.

    Since

    2020.0