Class TileSet3DLayer
- All Implemented Interfaces:
AutoCloseable
TileSet3DLayer is a Layer that can visualize 3D tiles.
Use TileSet3DLayer#newBuilder to create a 3D tiles layer instance.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty name for theLayerEventthat is fired as a result of changing the layer's fading time.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's point cloud style.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's mesh style.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's point cloud style.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's quality factor.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's transformation.static final StringProperty name for theLayerEventthat is fired as a result of changing the layer's transparency setting.Fields inherited from class com.luciad.layers.Layer
PropertyBusy, PropertyTitle, PropertyVisible -
Method Summary
Modifier and TypeMethodDescriptionReturns a new builder based on this layer instance.voidclose()booleanprotected voidfinalize()Returns the list of attributes that can be used in theexpressions.Returns the time tiles will take to fade in / out when changing their visibility, in milliseconds.Returns the style used for Gaussian splats.Returns the style used for mesh data.getModel()Returns the layer's model.Returns the style used for point cloud data on this layer.doubleReturns the quality factor for this layer.Returns the transformation.inthashCode()booleanReturns whether texture compression is enabled.booleanReturns whether transparency is enabled.static TileSet3DLayer.BuilderCreates a new builder for creating aTileSet3DLayer.voidsetFadingTime(Duration time) Sets the time tiles will take to fade in / out when changing their visibility, in milliseconds.voidsetGaussianSplatsStyle(GaussianSplatsStyle gaussianSplatsStyle) Sets the style used for Gaussian splats.voidsetMeshStyle(MeshStyle meshStyle) Sets the style used for mesh data.voidsetPointCloudStyle(PointCloudStyle pointCloudStyle) Sets the style used for point cloud data on this layer.voidsetQualityFactor(double qualityFactor) Sets the quality factor for this layer.voidsetTransformation(Matrix4x4 transformation) Sets the transformation.voidsetTransparencyEnabled(boolean enabled) Sets whether transparency is enabled.Methods inherited from class com.luciad.layers.Layer
addObserver, getId, getTitle, isBusy, isVisible, removeObserver, setTitle, setVisible
-
Field Details
-
PropertyQualityFactor
Property name for theLayerEventthat is fired as a result of changing the layer's quality factor.- See Also:
-
PropertyFadingTime
Property name for theLayerEventthat is fired as a result of changing the layer's fading time.- See Also:
-
PropertyPointCloudStyle
Property name for theLayerEventthat is fired as a result of changing the layer's point cloud style.- See Also:
-
PropertyMeshStyle
Property name for theLayerEventthat is fired as a result of changing the layer's mesh style.- See Also:
-
PropertyTransparencyEnabled
Property name for theLayerEventthat is fired as a result of changing the layer's transparency setting.- See Also:
-
PropertyGaussianSplatsStyle
Property name for theLayerEventthat is fired as a result of changing the layer's point cloud style.- Since:
- 2026.1
- See Also:
-
PropertyTransformation
Property name for theLayerEventthat is fired as a result of changing the layer's transformation.- Since:
- 2026.1
- See Also:
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
closein interfaceAutoCloseable- Overrides:
closein classLayer
-
newBuilder
Creates a new builder for creating aTileSet3DLayer.- Returns:
- a new builder for creating a
TileSet3DLayer.
-
asBuilder
Returns a new builder based on this layer instance.You can use this builder, for example, to create a copy of this layer.
Note that observers will not be transferred to a new layer.
- Returns:
- a new builder based on this layer instance.
- Since:
- 2025.0
-
getQualityFactor
public double getQualityFactor()Returns the quality factor for this layer.It is used to decide if a given tile should be displayed at certain scales.
Higher values load more tiles.
- Returns:
- the quality factor for this layer, used to decide if a given tile should be displayed at certain scales.
-
setQualityFactor
public void setQualityFactor(double qualityFactor) Sets the quality factor for this layer.It is used to decide if a given tile should be displayed at certain scales.
Must be a non-zero, positive value. Higher values load more tiles.
- Parameters:
qualityFactor- the quality factor.
-
getFadingTime
Returns the time tiles will take to fade in / out when changing their visibility, in milliseconds.The longer it is, the longer tiles will be going from fully transparent to fully visible.
- Returns:
- the time tiles will take to fade in / out when changing their visibility, in milliseconds.
-
setFadingTime
Sets the time tiles will take to fade in / out when changing their visibility, in milliseconds.If set to 0, fading of tiles is disabled. They appear as soon as they are available. The longer it is, the longer tiles will be going from fully transparent to fully visible.
- Parameters:
time- the fading time in milliseconds. Maximum value is 86400000 (i.e. a day).
-
getPointCloudStyle
Returns the style used for point cloud data on this layer.- Returns:
- the style used for point cloud data on this layer.
-
setPointCloudStyle
Sets the style used for point cloud data on this layer.- Parameters:
pointCloudStyle- the style to use.
-
getMeshStyle
Returns the style used for mesh data.- Returns:
- the style used for mesh data.
-
setMeshStyle
Sets the style used for mesh data.- Parameters:
meshStyle- the style to use.
-
getGaussianSplatsStyle
Returns the style used for Gaussian splats.- Returns:
- the style used for Gaussian splats.
- Since:
- 2026.1
-
setGaussianSplatsStyle
Sets the style used for Gaussian splats.- Parameters:
gaussianSplatsStyle- the style to use.- Since:
- 2026.1
-
isTransparencyEnabled
public boolean isTransparencyEnabled()Returns whether transparency is enabled.- Returns:
- whether transparency is enabled.
- See Also:
-
setTransparencyEnabled
public void setTransparencyEnabled(boolean enabled) Sets whether transparency is enabled.- Parameters:
enabled- true to enable transparency.- See Also:
-
isTextureCompressionEnabled
public boolean isTextureCompressionEnabled()Returns whether texture compression is enabled.- Returns:
- whether texture compression is enabled.
- See Also:
-
getAttributes
Returns the list of attributes that can be used in theexpressions.- Returns:
- the list of attributes that can be used in the
expressions. - See Also:
-
setTransformation
Sets the transformation.See
the builderfor more information about this property.- Parameters:
transformation- the transformation.- Throws:
IllegalArgumentException- if the matrix is not a valid affine transformation- Since:
- 2026.1
-
getTransformation
Returns the transformation.See
the builderfor more information about this property.- Returns:
- the transformation.
- Since:
- 2026.1
-
getModel
Returns the layer's model.- Returns:
- the layer's model.
-
hashCode
public int hashCode() -
equals
-