PositionIndicatorMeshRepresentationBuilder class abstract

Builder for creating immutable PositionIndicatorMeshRepresentation instances.

Only the geometry URI is required. All other properties have documented defaults.

Constructors

PositionIndicatorMeshRepresentationBuilder(String geometryUri)
Creates a new builder with the required geometry URI.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() → PositionIndicatorMeshRepresentation
Builds an immutable PositionIndicatorMeshRepresentation with the configured properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
withAmbientFactor(double ambientFactor) → PositionIndicatorMeshRepresentationBuilder
Sets the ambient lighting factor in range 0.0 to 1.0.
withColor(Color color) → PositionIndicatorMeshRepresentationBuilder
Sets the modulation color.
withDiffuseFactor(double diffuseFactor) → PositionIndicatorMeshRepresentationBuilder
Sets the diffuse lighting factor in range 0.0 to 1.0.
withFlipTextureVertically(bool flip) → PositionIndicatorMeshRepresentationBuilder
Sets whether the texture image is flipped vertically before use.
withLightingEnabled(bool lightingEnabled) → PositionIndicatorMeshRepresentationBuilder
Sets whether lighting is applied to the object color.
withTextureUri(String textureUri) → PositionIndicatorMeshRepresentationBuilder
Sets the diffuse texture URI.

Operators

operator ==(Object other) → bool
The equality operator.
inherited