/** * Writes the value expressed as a {@code nearFarScalar}, which is the value specified as four values {@code [NearDistance, NearValue, FarDistance, FarValue]}, with distances in eye coordinates in meters. * @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 value specified as four values {@code [NearDistance, NearValue, FarDistance, FarValue]}, with distances in eye coordinates in meters. * @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)); }
/** * Writes a value for the {@code pixelOffsetScaleByDistance} property as a {@code nearFarScalar} value. The {@code pixelOffsetScaleByDistance} property specifies how the label's pixel offset should change based on the label's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. * @param value The value. */ public final void writePixelOffsetScaleByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the label's translucency should change based on the label's distance from the camera. This scalar value should range from 0 to 1. * @param value The value. */ public final void writeTranslucencyByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffsetScaleByDistance} property as a {@code nearFarScalar} value. The {@code pixelOffsetScaleByDistance} property specifies how the billboard's pixel offset should change based on the billboard's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. * @param value The value. */ public final void writePixelOffsetScaleByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the point's scale should change based on the point's distance from the camera. This scalar value will be multiplied by {@code pixelSize}. * @param value The value. */ public final void writeScaleByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the point's translucency should change based on the point's distance from the camera. This scalar value should range from 0 to 1. * @param value The value. */ public final void writeTranslucencyByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the billboard's scale should change based on the billboard's distance from the camera. This scalar value will be multiplied by {@code scale}. * @param value The value. */ public final void writeScaleByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the billboard's translucency should change based on the billboard's distance from the camera. This scalar value should range from 0 to 1. * @param value The value. */ public final void writeTranslucencyByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the label's scale should change based on the label's distance from the camera. This scalar value will be multiplied by {@code scale}. * @param value The value. */ public final void writeScaleByDistanceProperty(@Nonnull NearFarScalar value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the point's scale should change based on the point's distance from the camera. This scalar value will be multiplied by {@code pixelSize}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the label's translucency should change based on the label's distance from the camera. This scalar value should range from 0 to 1. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeTranslucencyByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the point's translucency should change based on the point's distance from the camera. This scalar value should range from 0 to 1. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeTranslucencyByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffsetScaleByDistance} property as a {@code nearFarScalar} value. The {@code pixelOffsetScaleByDistance} property specifies how the label's pixel offset should change based on the label's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writePixelOffsetScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the label's scale should change based on the label's distance from the camera. This scalar value will be multiplied by {@code scale}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffsetScaleByDistance} property as a {@code nearFarScalar} value. The {@code pixelOffsetScaleByDistance} property specifies how the billboard's pixel offset should change based on the billboard's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writePixelOffsetScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code pixelOffsetScaleByDistance} property as a {@code nearFarScalar} value. The {@code pixelOffsetScaleByDistance} property specifies how the label's pixel offset should change based on the label's distance from the camera. This scalar value will be multiplied by {@code pixelOffset}. * @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 writePixelOffsetScaleByDistanceProperty(double nearDistance, double nearValue, double farDistance, double farValue) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeNearFarScalar(nearDistance, nearValue, farDistance, farValue); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the billboard's scale should change based on the billboard's distance from the camera. This scalar value will be multiplied by {@code scale}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code nearFarScalar} value. The {@code translucencyByDistance} property specifies how the billboard's translucency should change based on the billboard's distance from the camera. This scalar value should range from 0 to 1. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeTranslucencyByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeNearFarScalar(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code nearFarScalar} value. The {@code scaleByDistance} property specifies how the label's scale should change based on the label's distance from the camera. This scalar value will be multiplied by {@code scale}. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. * @param startIndex The index of the first element to write. * @param length The number of elements to write. */ public final void writeScaleByDistanceProperty(List<JulianDate> dates, List<NearFarScalar> values, int startIndex, int length) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeNearFarScalar(dates, values, startIndex, length); } finally { DisposeHelper.dispose(writer); } } }