/** * Writes the value expressed as a {@code nearFarScalar}, which is the property specified as four values {@code [NearDistance, NearValue, FarDistance, FarValue]}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeNearFarScalar(List<JulianDate> dates, List<NearFarScalar> values) { writeNearFarScalar(dates, values, 0, dates.size()); }
/** * Writes the value expressed as a {@code nearFarScalar}, which is the property specified as four values {@code [NearDistance, NearValue, FarDistance, FarValue]}. * @param nearDistance The lower bound of the camera distance range. * @param nearValue The value to use at the lower bound of the camera distance range. * @param farDistance The upper bound of the camera distance range. * @param farValue The value to use at the upper bound of the camera distance range. */ public final void writeNearFarScalar(double nearDistance, double nearValue, double farDistance, double farValue) { writeNearFarScalar(new NearFarScalar(nearDistance, nearValue, farDistance, farValue)); }