/** * 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()); }
/** * Copies this instance and returns the copy. * @return The copy. */ @Override public NearFarScalarCesiumWriter clone() { return new NearFarScalarCesiumWriter(this); }
/** * 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. * @param startIndex The index of the first element to write. * @param length The number of elements to write. */ public final void writeNearFarScalar(List<JulianDate> dates, List<NearFarScalar> values, int startIndex, int length) { final String PropertyName = NearFarScalarPropertyName; openIntervalIfNecessary(); CesiumWritingHelper.writeNearFarScalar(getOutput(), PropertyName, dates, values, startIndex, length); }
/** * Writes a value for the {@code translucencyByDistance} property as a {@code reference} 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 reference. */ public final void writeTranslucencyByDistancePropertyReference(Reference value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scaleByDistance} property as a {@code reference} 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 reference. */ public final void writeScaleByDistancePropertyReference(Reference value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * 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 scaleByDistance} property as a {@code reference} 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 reference. */ public final void writeScaleByDistancePropertyReference(Reference value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openScaleByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the value specified as a reference to another property. * @param value The earliest date of the interval. */ public final void writeReference(String value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
public cesiumlanguagewriter.NearFarScalarCesiumWriter invoke() { return new NearFarScalarCesiumWriter(ScaleByDistancePropertyName); } }, false);
/** * 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 translucencyByDistance} property as a {@code reference} 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 earliest date of the interval. */ public final void writeTranslucencyByDistancePropertyReference(String value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the value specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyNames The hierarchy of properties to be indexed on the referenced object. */ public final void writeReference(String identifier, String[] propertyNames) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyNames); }
public cesiumlanguagewriter.NearFarScalarCesiumWriter invoke() { return new NearFarScalarCesiumWriter(TranslucencyByDistancePropertyName); } }, false);
/** * 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 pixelOffsetScaleByDistance} property as a {@code reference} 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 reference. */ public final void writePixelOffsetScaleByDistancePropertyReference(Reference value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openPixelOffsetScaleByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the value specified as a reference to another property. * @param value The reference. */ public final void writeReference(Reference value) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), value); }
public cesiumlanguagewriter.NearFarScalarCesiumWriter invoke() { return new NearFarScalarCesiumWriter(PixelOffsetScaleByDistancePropertyName); } }, false);
/** * 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 reference} 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 earliest date of the interval. */ public final void writeTranslucencyByDistancePropertyReference(String value) { { cesiumlanguagewriter.NearFarScalarCesiumWriter writer = openTranslucencyByDistanceProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes the value expressed as a {@code reference}, which is the value specified as a reference to another property. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeReference(String identifier, String propertyName) { final String PropertyName = ReferencePropertyName; openIntervalIfNecessary(); getOutput().writePropertyName(PropertyName); CesiumWritingHelper.writeReference(getOutput(), identifier, propertyName); }