@minecraft
    正在准备搜索索引...

    接口 WaypointTextureBounds实验性

    Defines a texture and the distance range in which it should be displayed. Used within a WaypointTextureSelector to create distance-based texture switching.

    interface WaypointTextureBounds {
        lowerBound: number;
        texture: WaypointTexture;
        upperBound?: number;
    }
    索引

    属性

    lowerBound: number

    The lower distance bound for this texture. The texture is displayed when the distance to the waypoint is greater than this value. Value must be greater than or equal to 0.

    Minimum Value: 0

    The WaypointTexture to display within this distance range.

    upperBound?: number

    The upper distance bound for this texture. The texture is displayed when the distance to the waypoint is less than or equal to this value. If undefined, there is no upper limit. Value must be greater than or equal to 0.

    Minimum Value: 0