/** * Writes a value for the {@code scale} property as a {@code cartesian} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @param value The value. */ public final void writeScaleProperty(@Nonnull Cartesian value) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeCartesian(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scale} property as a {@code reference} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @param value The earliest date of the interval. */ public final void writeScalePropertyReference(String value) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scale} property as a {@code reference} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @param value The reference. */ public final void writeScalePropertyReference(Reference value) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeReference(value); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scale} property as a {@code reference} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @param identifier The identifier of the object which contains the referenced property. * @param propertyName The property on the referenced object. */ public final void writeScalePropertyReference(String identifier, String propertyName) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeReference(identifier, propertyName); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scale} property as a {@code cartesian} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @param dates The dates at which the value is specified. * @param values The values corresponding to each date. */ public final void writeScaleProperty(List<JulianDate> dates, List<Cartesian> values) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeCartesian(dates, values); } finally { DisposeHelper.dispose(writer); } } }
/** * Writes a value for the {@code scale} property as a {@code reference} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @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 writeScalePropertyReference(String identifier, String[] propertyNames) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeReference(identifier, propertyNames); } finally { DisposeHelper.dispose(writer); } } } }
/** * Writes a value for the {@code scale} property as a {@code cartesian} value. The {@code scale} property specifies the scaling to apply to the model node. If not specified, the default value is [1.0, 1.0, 1.0]. * @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 writeScaleProperty(List<JulianDate> dates, List<Cartesian> values, int startIndex, int length) { { cesiumlanguagewriter.ScaleCesiumWriter writer = openScaleProperty(); try { writer.writeCartesian(dates, values, startIndex, length); } finally { DisposeHelper.dispose(writer); } } }