Class TileSet3DLayer

java.lang.Object
com.luciad.layers.Layer
com.luciad.layers.tileset3d.TileSet3DLayer
All Implemented Interfaces:
AutoCloseable

public final class TileSet3DLayer extends Layer implements AutoCloseable
A TileSet3DLayer is a Layer that can visualize 3D tiles.

Use TileSet3DLayer#newBuilder to create a 3D tiles layer instance.

  • Field Details Link icon

    • PropertyQualityFactor Link icon

      public static final String PropertyQualityFactor
      Property name for the LayerEvent that is fired as a result of changing the layer's quality factor.
      See Also:
    • PropertyFadingTime Link icon

      public static final String PropertyFadingTime
      Property name for the LayerEvent that is fired as a result of changing the layer's fading time.
      See Also:
    • PropertyPointCloudStyle Link icon

      public static final String PropertyPointCloudStyle
      Property name for the LayerEvent that is fired as a result of changing the layer's point cloud style.
      See Also:
    • PropertyMeshStyle Link icon

      public static final String PropertyMeshStyle
      Property name for the LayerEvent that is fired as a result of changing the layer's mesh style.
      See Also:
    • PropertyTransparencyEnabled Link icon

      public static final String PropertyTransparencyEnabled
      Property name for the LayerEvent that is fired as a result of changing the layer's transparency setting.
      See Also:
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Layer
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
      Overrides:
      close in class Layer
    • newBuilder Link icon

      @NotNull public static TileSet3DLayer.Builder newBuilder()
      Creates a new builder for creating a TileSet3DLayer.
      Returns:
      a new builder for creating a TileSet3DLayer.
    • getQualityFactor Link icon

      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 Link icon

      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 Link icon

      @NotNull public Duration 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 Link icon

      public void setFadingTime(@NotNull Duration time)
      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 Link icon

      @NotNull public PointCloudStyle getPointCloudStyle()
      Returns the style used for point cloud data on this layer.
      Returns:
      the style used for point cloud data on this layer.
    • setPointCloudStyle Link icon

      public void setPointCloudStyle(@NotNull PointCloudStyle pointCloudStyle)
      Sets the style used for point cloud data on this layer.
      Parameters:
      pointCloudStyle - the style to use.
    • getMeshStyle Link icon

      @NotNull public MeshStyle getMeshStyle()
      Returns the style used for mesh data.
      Returns:
      the style used for mesh data.
    • setMeshStyle Link icon

      public void setMeshStyle(@NotNull MeshStyle meshStyle)
      Sets the style used for mesh data.
      Parameters:
      meshStyle - the style to use.
    • isTransparencyEnabled Link icon

      public boolean isTransparencyEnabled()
      Returns whether transparency is enabled.
      Returns:
      whether transparency is enabled.
      See Also:
    • setTransparencyEnabled Link icon

      public void setTransparencyEnabled(boolean enabled)
      Sets whether transparency is enabled.
      Parameters:
      enabled - true to enable transparency.
      See Also:
    • isTextureCompressionEnabled Link icon

      public boolean isTextureCompressionEnabled()
      Returns whether texture compression is enabled.
      Returns:
      whether texture compression is enabled.
      See Also:
    • getAttributes Link icon

      @NotNull public List<@NotNull String> getAttributes()
      Returns the list of attributes that can be used in the expressions.
      Returns:
      the list of attributes that can be used in the expressions.
      See Also:
    • getModel Link icon

      @NotNull public ITileSet3DModel getModel()
      Returns the layer's model.
      Returns:
      the layer's model.