LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Class Referencesealed

Builder for the TileSet3DLayer class. More...

Inheritance diagram for Luciad.Layers.TileSet3D.TileSet3DLayer.Builder:

Public Member Functions

 Builder (Luciad.Layers.TileSet3D.TileSet3DLayer.Builder other)
 Copy constructor.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Attributes (System.Collections.Generic.IList< string > attributes)
 List of attributes that can be used in the style expressions.
Luciad.Layers.TileSet3D.TileSet3DLayer Build ()
 Returns a layer, based on the properties set on this builder.
void Dispose ()
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder FadingTime (System.TimeSpan time)
 The time tiles will take to fade in / out when changing their visibility If set to 0, fading of tiles is disabled.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder GaussianSplatsStyle (Luciad.Layers.Styles.GaussianSplatsStyle gaussianSplatsStyle)
 Sets the style to use for Gaussian splats.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder MeshStyle (Luciad.Layers.Styles.MeshStyle meshStyle)
 Sets the style to use for mesh data.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Model (Luciad.Models.TileSet3D.ITileSet3DModel model)
 Sets the 3D tiles model of the layer.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder PointCloudStyle (Luciad.Layers.Styles.PointCloudStyle pointCloudStyle)
 Sets the style to use for point cloud data.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder QualityFactor (double qualityFactor)
 Sets the quality factor for the layer.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder TextureCompressionEnabled (bool enabled)
 Configure whether to use GPU-compressed textures or not for tiled mesh data.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Title (string title)
 Sets the title to use for the layer.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Transformation (Luciad.Cartesian.Matrix4x4 transformation)
 Set an additional transformation to be applied to the tileset.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder TransparencyEnabled (bool enabled)
 Indicates whether transparent surfaces should be painted transparently.
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Visible (bool visible)
 Sets whether the layer should be visible initially.

Detailed Description

Builder for the TileSet3DLayer class.

Constructor & Destructor Documentation

◆ Builder()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Builder ( Luciad.Layers.TileSet3D.TileSet3DLayer.Builder other)
inline

Copy constructor.

Parameters
otherthe builder to copy.

Member Function Documentation

◆ Attributes()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Attributes ( System.Collections.Generic.IList< string > attributes)
inline

List of attributes that can be used in the style expressions.

These attributes must be present in the source data set.

You can discover which attributes you can use in the documentation of the model decoder of the format that is used. For example:

Parameters
attributesa list of attributes that can be used
Returns
this builder

◆ Build()

Luciad.Layers.TileSet3D.TileSet3DLayer Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Build ( )
inline

Returns a layer, based on the properties set on this builder.

Returns
a layer, based on the properties set on this builder.
Exceptions
System.InvalidOperationExceptionIf not all mandatory parameters are set.

◆ Dispose()

void Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Dispose ( )
inline

◆ FadingTime()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.FadingTime ( System.TimeSpan time)
inline

The time tiles will take to fade in / out when changing their visibility 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. Default value is 200. Maximum value is 86400000 (i.e. a day).

Parameters
timethe fading time in milliseconds.
Returns
this builder.

◆ GaussianSplatsStyle()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.GaussianSplatsStyle ( Luciad.Layers.Styles.GaussianSplatsStyle gaussianSplatsStyle)
inline

Sets the style to use for Gaussian splats.

Parameters
gaussianSplatsStylethe style to use
Returns
this builder
Since
2026.1

◆ MeshStyle()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.MeshStyle ( Luciad.Layers.Styles.MeshStyle meshStyle)
inline

Sets the style to use for mesh data.

Parameters
meshStylethe style to use
Returns
this builder

◆ Model()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Model ( Luciad.Models.TileSet3D.ITileSet3DModel model)
inline

Sets the 3D tiles model of the layer.

Calling this function is mandatory.

Cannot be null.

This model must be georeferenced. This means that it must either have a non-Cartesian reference, or have a non-null geolocation.

Parameters
modelthe 3D tiles model of the layer.
Returns
this builder.
Exceptions
System.ArgumentNullExceptionwhen the model is null.
System.ArgumentExceptionwhen the model is not georeferenced.

◆ PointCloudStyle()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.PointCloudStyle ( Luciad.Layers.Styles.PointCloudStyle pointCloudStyle)
inline

Sets the style to use for point cloud data.

Parameters
pointCloudStylethe style to use
Returns
this builder

◆ QualityFactor()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.QualityFactor ( double qualityFactor)
inline

Sets the quality factor for the 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. The default value is 1.0.

Parameters
qualityFactorthe quality factor.
Returns
this builder.
Exceptions
System.ArgumentExceptionif the factor is not strictly positive.

◆ TextureCompressionEnabled()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.TextureCompressionEnabled ( bool enabled)
inline

Configure whether to use GPU-compressed textures or not for tiled mesh data.

This can greatly reduce the amount of GPU memory needed and improve performance and stability, and is enabled by default. Enable this if you want to save resources displaying meshes with large textures. Disable when displaying meshes with lookup textures, such as CAD models.

If your environment does not support GPU texture compression, this flag has no effect.

Parameters
enabledtrue to enable texture compression
Returns
this builder
Since
2022.1

◆ Title()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Title ( string title)
inline

Sets the title to use for the layer.

If not set, the title from the ModelMetadata is used.

Parameters
titlethe title for the layer.
Returns
this builder.

◆ Transformation()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Transformation ( Luciad.Cartesian.Matrix4x4 transformation)
inline

Set an additional transformation to be applied to the tileset.

This can be used to translate, rotate, and/or scale the tileset as a whole. You can chain transformations together by multiplying their matrices right-to-left. This transformation is applied in world space, meaning in the reference of the map.

By default, this is the identity matrix, meaning that no additional transformation is applied.

Parameters
transformationthe transformation
Returns
this builder
Exceptions
System.ArgumentExceptionif the matrix is not a valid affine transformation
Since
2026.1

◆ TransparencyEnabled()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.TransparencyEnabled ( bool enabled)
inline

Indicates whether transparent surfaces should be painted transparently.

Enable this if you know your data has transparency, and you want to see it. The transparency can originate from transparent pixels in an rgba texture, transparent colors in a vertex attribute, or transparent colors from a colorExpression.

Note that this can have a significant performance impact, and as such it is disabled by default. When disabled, transparent surfaces will just be opaque.

Parameters
enabledtrue to enable transparency
Returns
this builder

◆ Visible()

Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Luciad.Layers.TileSet3D.TileSet3DLayer.Builder.Visible ( bool visible)
inline

Sets whether the layer should be visible initially.

Default is true.

Parameters
visiblethe visibility.
Returns
this builder.