Skip to content

API reference Obsidian.API.World

ISpline interface

A cubic spline used for terrain shaping.

public interface ISpline

In Obsidian.API.

Remarks

Vanilla evaluates splines in single precision; implementations should return float values widened to double.

Properties

double MaxValue { get; }double MinValue { get; }

Methods

double Apply(double x, double y, double z);

MapAll(IDensityFunctionVisitor)

ISpline MapAll(IDensityFunctionVisitor visitor);

Maps the density functions used as spline coordinates. See IDensityFunction.MapAll.

On this page