LuciadCPillar C# 2023.1.03
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Class Reference

Builder for the luciad::TileSet3DLayer class. More...

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

Public Member Functions

 Builder (Luciad.Layers.TileSet3D.TileSet3DLayer.Builder other)
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Attributes (System.Collections.Generic.IList< string > attributes)
 List of attributes that can be used in the style expressions. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer Build ()
 Returns a layer, based on the properties set on this builder. More...
 
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. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder MeshStyle (Luciad.Layers.Styles.MeshStyle meshStyle)
 Sets the style to use for mesh data. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Model (Luciad.Models.TileSet3D.ITileSet3DModel model)
 Sets the 3D tiles model of the layer. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder PointCloudStyle (Luciad.Layers.Styles.PointCloudStyle pointCloudStyle)
 Sets the style to use for point cloud data. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder QualityFactor (double qualityFactor)
 Sets the quality factor for the layer. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder TextureCompressionEnabled (bool enabled)
 Configure whether to use GPU-compressed textures or not for tiled mesh data. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Title (string title)
 Sets the title to use for the layer. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder TransparencyEnabled (bool enabled)
 Indicates whether transparent surfaces should be painted transparently. More...
 
Luciad.Layers.TileSet3D.TileSet3DLayer.Builder Visible (bool visible)
 Sets whether the layer should be visible initially. More...
 

Detailed Description

Builder for the luciad::TileSet3DLayer class.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder.

Constructor & Destructor Documentation

◆ Builder()

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

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: Ogc3DTilesModelDecoder::decode HspcModelDecoder::decode

attributes

a list of attributes that can be used

this builder

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::attributes.

◆ Build()

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

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

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

luciad::LogicException

If not all mandatory parameters are set.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::build.

◆ 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).

time

the fading time in milliseconds.

this builder.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::fadingTime.

◆ 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.

meshStyle

the style to use

this builder

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::meshStyle.

◆ 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 nullptr.

model

the 3D tiles model of the layer.

this builder.

luciad::NullArgumentException

when the model is nullptr.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::model.

◆ 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.

pointCloudStyle

the style to use

this builder

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::pointCloudStyle.

◆ 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.

qualityFactor

the quality factor.

this builder.

InvalidArgumentException

if the factor is not strictly positive.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::qualityFactor.

◆ 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.

enabled

true to enable texture compression

this builder

2022.1

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::textureCompressionEnabled.

◆ 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.

title

the title for the layer.

this builder.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::title.

◆ 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.

enabled

true to enable transparency

this builder

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::transparencyEnabled.

◆ 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.

visible

the visibility.

this builder.

Warning
C# documentation translation is incomplete. You can find more information in the C++ documentation for luciad::TileSet3DLayer::Builder::visible.