/** * Copies this instance and returns the copy. * @return The copy. */ @Override public ModelCesiumWriter clone() { return new ModelCesiumWriter(this); }
/** * Opens and returns the writer for the {@code colorBlendAmount} property. The {@code colorBlendAmount} property defines the color strength when {@code colorBlendMode} is {@code MIX}. A value of 0.0 results in the model's rendered color while a value of 1.0 results in a solid color, with any value in-between resulting in a mix of the two. If not specified, the default value is 0.5. */ @Nonnull public final DoubleCesiumWriter openColorBlendAmountProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getColorBlendAmountWriter()); }
/** * Opens and returns the writer for the {@code colorBlendMode} property. The {@code colorBlendMode} property defines the mode to use for blending between {@code color} and the model's color. If not specified, the default value is HIGHLIGHT. */ @Nonnull public final ColorBlendModeCesiumWriter openColorBlendModeProperty() { openIntervalIfNecessary(); return this.<ColorBlendModeCesiumWriter> openAndReturn(getColorBlendModeWriter()); }
/** * Opens and returns the writer for the {@code minimumPixelSize} property. The {@code minimumPixelSize} property defines the approximate minimum pixel size of the model regardless of zoom. If not specified, the default value is 0.0. */ @Nonnull public final DoubleCesiumWriter openMinimumPixelSizeProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getMinimumPixelSizeWriter()); }
/** * Opens and returns the writer for the {@code maximumScale} property. The {@code maximumScale} property defines the maximum scale size of the model. This is used as an upper limit for {@code minimumPixelSize}. */ @Nonnull public final DoubleCesiumWriter openMaximumScaleProperty() { openIntervalIfNecessary(); return this.<DoubleCesiumWriter> openAndReturn(getMaximumScaleWriter()); }
/** * Opens and returns the writer for the {@code incrementallyLoadTextures} property. The {@code incrementallyLoadTextures} property defines whether or not the model can be rendered before all textures have loaded. If not specified, the default value is {@code true}. */ @Nonnull public final BooleanCesiumWriter openIncrementallyLoadTexturesProperty() { openIntervalIfNecessary(); return this.<BooleanCesiumWriter> openAndReturn(getIncrementallyLoadTexturesWriter()); }
/** * Opens and returns the writer for the {@code color} property. The {@code color} property defines the color to blend with the model's rendered color. If not specified, the default value is white. */ @Nonnull public final ColorCesiumWriter openColorProperty() { openIntervalIfNecessary(); return this.<ColorCesiumWriter> openAndReturn(getColorWriter()); }
/** * Opens and returns the writer for the {@code gltf} property. The {@code gltf} property defines the URI of a <a href="https://github.com/KhronosGroup/glTF">glTF</a> model. For broadest client compatibility, the URI should be accessible via Cross-Origin Resource Sharing (CORS). The URI may also be a <a href="https://developer.mozilla.org/en/data_URIs">data URI</a>. This value is required. */ @Nonnull public final UriCesiumWriter openGltfProperty() { openIntervalIfNecessary(); return this.<UriCesiumWriter> openAndReturn(getGltfWriter()); }
/** * Opens and returns the writer for the {@code heightReference} property. The {@code heightReference} property defines the height reference of the model, which indicates if the position is relative to terrain or not. If not specified, the default value is NONE. */ @Nonnull public final HeightReferenceCesiumWriter openHeightReferenceProperty() { openIntervalIfNecessary(); return this.<HeightReferenceCesiumWriter> openAndReturn(getHeightReferenceWriter()); }
/** * Opens and returns the writer for the {@code distanceDisplayCondition} property. The {@code distanceDisplayCondition} property defines the display condition specifying at what distance from the camera this model will be displayed. */ @Nonnull public final DistanceDisplayConditionCesiumWriter openDistanceDisplayConditionProperty() { openIntervalIfNecessary(); return this.<DistanceDisplayConditionCesiumWriter> openAndReturn(getDistanceDisplayConditionWriter()); }
public cesiumlanguagewriter.ModelCesiumWriter invoke() { return new ModelCesiumWriter(ModelPropertyName); } }, false);
@Override protected CesiumPropertyWriter<ModelCesiumWriter> createPropertyWriter(String propertyName) { return new ModelCesiumWriter(propertyName); }